Skip to content

Commit

Permalink
Merge pull request #84 from mariux64/fix-user-manager-shutdown
Browse files Browse the repository at this point in the history
Fix user manager shutdown
  • Loading branch information
pmenzel authored Apr 26, 2019
2 parents e190fbd + 6202235 commit 6c2fd14
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
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

0 comments on commit 6c2fd14

Please sign in to comment.