Substitute $PREFIX in the systemd unit file (Fixes #139).

This commit is contained in:
Nick Steel
2015-12-20 19:48:31 +00:00
parent 9725830d9a
commit 49788bd6e6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -239,5 +239,5 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([atexit clock_gettime gethostname inet_ntoa memchr memmove memset mkfifo pow select socket stpcpy strcasecmp strchr strdup strerror strstr strtol strtoul])
AC_CONFIG_FILES([Makefile man/Makefile])
AC_CONFIG_FILES([Makefile man/Makefile scripts/shairport-sync.service])
AC_OUTPUT
@@ -5,7 +5,7 @@ Requires=avahi-daemon.service
After=avahi-daemon.service
[Service]
ExecStart=/usr/local/bin/shairport-sync
ExecStart=@prefix@/bin/shairport-sync
User=shairport-sync
Group=shairport-sync