1
0
forked from brl/citadel
citadel/appimg-builder/appimg-modules/configure-systemd

17 lines
372 B
Plaintext
Raw Normal View History

2018-03-07 23:52:40 +00:00
info "Adding configuration files to /etc/systemd"
local userconfdir=/etc/systemd/user.conf.d
local loginconfdir=/etc/systemd/logind.conf.d
mkdir -p ${userconfdir} ${loginconfdir}
cat > ${userconfdir}/50-display-env.conf << 'EOF'
[Manager]
DefaultEnvironment="DISPLAY=:0"
EOF
cat > ${loginconfdir}/50-no-kill-user-processes.conf << EOF
[Login]
KillUserProcesses=no
EOF