From: Vincent Bernat Date: Sun, 5 Oct 2014 13:16:30 +0000 (+0200) Subject: build: use @sbindir@ instead of @prefix@/sbin X-Git-Tag: 0.7.11~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e26fbbae1599968542892115a26debaa4954387f;p=thirdparty%2Flldpd.git build: use @sbindir@ instead of @prefix@/sbin Thanks to the previous commit, this is now possible. --- diff --git a/osx/im.bernat.lldpd.plist.in b/osx/im.bernat.lldpd.plist.in index 5b7761e6..447399ee 100644 --- a/osx/im.bernat.lldpd.plist.in +++ b/osx/im.bernat.lldpd.plist.in @@ -6,7 +6,7 @@ im.bernat.lldpd ProgramArguments - @prefix@/sbin/lldpd + @sbindir@/lldpd RunAtLoad KeepAlive diff --git a/src/daemon/lldpd.service.in b/src/daemon/lldpd.service.in index 9492d88d..9e6d33af 100644 --- a/src/daemon/lldpd.service.in +++ b/src/daemon/lldpd.service.in @@ -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]