]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: use @sbindir@ instead of @prefix@/sbin
authorVincent Bernat <vincent@bernat.im>
Sun, 5 Oct 2014 13:16:30 +0000 (15:16 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 5 Oct 2014 13:16:30 +0000 (15:16 +0200)
Thanks to the previous commit, this is now possible.

osx/im.bernat.lldpd.plist.in
src/daemon/lldpd.service.in

index 5b7761e631d0c181a30124463bda78210bced9a6..447399eef5922e1b92cc406523c0fe2f0821fd5e 100644 (file)
@@ -6,7 +6,7 @@
   <string>im.bernat.lldpd</string>
   <key>ProgramArguments</key>
   <array>
-    <string>@prefix@/sbin/lldpd</string>
+    <string>@sbindir@/lldpd</string>
   </array>
   <key>RunAtLoad</key><true/>
   <key>KeepAlive</key><true/>
index 9492d88da38968334fd4e11803028889e06811bc..9e6d33af65d3627656e8cc714fed6b677253bbdc 100644 (file)
@@ -9,7 +9,7 @@ Type=notify
 NotifyAccess=main
 EnvironmentFile=-/etc/default/lldpd
 EnvironmentFile=-/etc/sysconfig/lldpd
-ExecStart=@prefix@/sbin/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
+ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
 Restart=on-failure
 
 [Install]