diff --git a/install.sh b/install.sh index 29fd6cc..c857dda 100755 --- a/install.sh +++ b/install.sh @@ -135,7 +135,10 @@ install_exec nfsdtop/nfsdtop "$DESTDIR$usr_sbindir/n install_data serial-log/serial-log\@.service "$DESTDIR$systemdunitdir/serial-log@.service" install_exec serial-log/serial-log "$DESTDIR$usr_exec_prefix/libexec/serial-log" install_data misc_systemd_units/nfsd.service "$DESTDIR$systemdunitdir/nfsd.service" -mkdir -p $DESTDIR$systemdunitdir/user@.service.d +mkdir -p "$DESTDIR$systemdunitdir/user@.service.d" install_data misc_systemd_units/user@.service.d/depend-on-remote-homes.conf \ - "$DESTDIR$systemdunitdir/user@.service.d/depend-on-remote-homes.conf" + "$DESTDIR$systemdunitdir/user@.service.d/depend-on-remote-homes.conf" +mkdir -p "$DESTDIR$sysconfdir/systemd/logind.conf.d" +install_data misc_etc_files/systemd/logind.conf.d/disable_RemoveIPC.conf \ + "$DESTDIR$sysconfdir/systemd/logind.conf.d/disable_RemoveIPC.conf" exit diff --git a/misc_etc_files/systemd/logind.conf.d/disable_RemoveIPC.conf b/misc_etc_files/systemd/logind.conf.d/disable_RemoveIPC.conf new file mode 100644 index 0000000..da11848 --- /dev/null +++ b/misc_etc_files/systemd/logind.conf.d/disable_RemoveIPC.conf @@ -0,0 +1,5 @@ +[Login] +# Allow non sytem-users to run daemons which use System V semaphores +# and survive their session, e.g. postgreSQL +# +RemoveIPC=no