packages: systemd/network-post.service - add oneshot type and full path

cactus cactus at pld-linux.org
Sun Jan 22 07:42:58 CET 2012


Author: cactus                       Date: Sun Jan 22 06:42:58 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add oneshot type and full path

---- Files affected:
packages/systemd:
   network-post.service (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/systemd/network-post.service
diff -u packages/systemd/network-post.service:1.3 packages/systemd/network-post.service:1.4
--- packages/systemd/network-post.service:1.3	Sun Jan 22 07:12:28 2012
+++ packages/systemd/network-post.service	Sun Jan 22 07:42:53 2012
@@ -4,9 +4,10 @@
 After=network.service
 
 [Service]
+Type=oneshot
 ExecStart=/sbin/service network start_postinit
-ExecStart=touch /var/lock/subsys/network
-ExecStop=rm -f /var/lock/subsys/network
+ExecStart=/bin/touch /var/lock/subsys/network
+ExecStop=/bin/rm -f /var/lock/subsys/network
 
 RemainAfterExit=true
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/systemd/network-post.service?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list