]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
pakfire-daemon.service: Require network-online and remote-fs targets.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 8 Jul 2013 18:33:57 +0000 (20:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jul 2013 18:41:31 +0000 (20:41 +0200)
The unit file now requires an configured and brought up network connection and
wants as a soft-dependency that all remote filesystems are mounted.

systemd/pakfire-daemon.service

index f4c8f2bc3a018c6a3de65e09df4cd306eef9d16c..00e54669eea8a900e8ea477fd8bfd48de7bfd77a 100644 (file)
@@ -1,7 +1,8 @@
 [Unit]
 Description=Pakfire Daemon
-After=network.target
-Requires=network.target
+After=network-online.target remote-fs.target
+Requires=network-online.target
+Wants=remote-fs.target
 
 [Service]
 KillMode=process