From e26fbbae1599968542892115a26debaa4954387f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 5 Oct 2014 15:16:30 +0200 Subject: [PATCH] build: use @sbindir@ instead of @prefix@/sbin Thanks to the previous commit, this is now possible. --- osx/im.bernat.lldpd.plist.in | 2 +- src/daemon/lldpd.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] -- 2.39.5