User $PREFIX in the init file

This commit is contained in:
dan carter
2015-12-23 12:55:25 +13:00
parent cd03560214
commit 935160180a
3 changed files with 3 additions and 1 deletions
@@ -17,7 +17,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="AirPlay Synchronous Audio Service"
NAME=shairport-sync
DAEMON=/usr/local/bin/$NAME
DAEMON=@prefix@/bin/$NAME
# We don't use the DAEMON_ARGS variable here because some of the identifiers may have spaces in them, and so are
# impossible to pass as arguments.