Skip to content

Fix user manager shutdown #84

Merged
merged 2 commits into from
Apr 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ install_exec make-automaps/make-automaps "$DESTDIR$usr_sbindir/m
install_data misc_systemd_units/automount.service "$DESTDIR$systemdunitdir/automount.service"
install_data misc_systemd_units/enable_overcommit_memory.service "$DESTDIR$systemdunitdir/enable_overcommit_memory.service"
install_data misc_systemd_units/gdm.service "$DESTDIR$systemdunitdir/gdm.service"
install_data misc_systemd_units/lazy-umount-nfs.service "$DESTDIR$systemdunitdir/lazy-umount-nfs.service"
install_data misc_systemd_units/unbound.service "$DESTDIR$systemdunitdir/unbound.service"
install_exec mkmotd/mkmotd.pl "$DESTDIR$usr_sbindir/mkmotd.pl"
install_data mkmotd/motd.service "$DESTDIR$systemdunitdir/motd.service"
Expand Down Expand Up @@ -136,4 +135,7 @@ 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
install_data misc_systemd_units/user@.service.d/depend-on-remote-homes.conf \
"$DESTDIR$systemdunitdir/user@.service.d/depend-on-remote-homes.conf"
exit
14 changes: 0 additions & 14 deletions misc_systemd_units/lazy-umount-nfs.service

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# We need access to /home/$USER when we shut down
# the systemd user instances.

[Unit]
After=automount.service
After=remote-fs.target