Skip to content

Commit

Permalink
automount.service: Start before basic.target
Browse files Browse the repository at this point in the history
Currently, automount.service races with mxstartup.service. mxstartup
itself and also the services it starts, expect paths like /pkg to be
available. So make automount namespace part of basic.target. Normal
Services order after basic.target by default.
  • Loading branch information
donald committed Jun 20, 2023
1 parent 6c2c6bb commit b2c46b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions misc_systemd_units/automount.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[Unit]

Requires=basic.target
After=basic.target
DefaultDependencies=no

Requires=sysinit.target
After=sysinit.target
Before=basic.target

[Service]
Type=forking
Expand All @@ -12,5 +15,5 @@ ExecReload=/bin/kill -HUP $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target
WantedBy=basic.target

0 comments on commit b2c46b1

Please sign in to comment.