Linux: Refine openafs-client.service dependencies
[openafs.git] / src / packaging / RedHat / openafs-client.service
index bc95057..1a34c0c 100644 (file)
@@ -1,6 +1,8 @@
 [Unit]
 Description=OpenAFS Client Service
-After=syslog.target network.target
+Wants=network-online.target
+After=syslog.target network-online.target
+Before=remote-fs.target
 
 [Service]
 Type=forking
@@ -15,4 +17,4 @@ ExecStop=/sbin/rmmod openafs
 KillMode=none
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target remote-fs.target