2018-03-07 18:52:40 -05: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
|
2019-04-02 15:38:19 -04:00
|
|
|
|
|
|
|
info "Creating /var/log/journal"
|
|
|
|
mkdir -p /var/log/journal
|
|
|
|
systemd-tmpfiles --create --prefix /var/log/journal
|