Substitute $PREFIX in the systemd unit file (Fixes #139).
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user