Skip to content

Commit

Permalink
automount.service: Shut down before network
Browse files Browse the repository at this point in the history
On shutdown, automount tries to unmount all remaining mount points. This
might include remote mountpoints. Order after network.target, so that
automount gets stopped before network.target. See [1].

[1]: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
  • Loading branch information
donald committed Jul 4, 2023
1 parent d8c9acf commit dc9eeba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc_systemd_units/automount.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ DefaultDependencies=no
Requires=sysinit.target
After=sysinit.target
Before=basic.target
After=network.target

[Service]
Type=forking
Expand Down

0 comments on commit dc9eeba

Please sign in to comment.