Use prefix from autoconf for systemd unit

Close #974
This commit is contained in:
Paulo Flabiano Smorigo
2015-06-11 22:09:40 -03:00
committed by Alexey Sokolov
parent baa51aa4b8
commit c223c851e1
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ Makefile
*.pc
/include/znc/zncconfig.h
/znc-buildmod
/znc.service
# modperl and modpython generated code
/modules/modperl/functions.cpp
+1
View File
@@ -684,6 +684,7 @@ AC_CONFIG_FILES([znc-buildmod])
AC_CONFIG_FILES([man/Makefile])
AC_CONFIG_FILES([znc.pc])
AC_CONFIG_FILES([znc-uninstalled.pc])
AC_CONFIG_FILES([znc.service])
AC_CONFIG_FILES([modules/Makefile])
AC_OUTPUT
+1 -1
View File
@@ -3,7 +3,7 @@ Description=ZNC, an advanced IRC bouncer
After=network.target
[Service]
ExecStart=/usr/bin/znc -f
ExecStart=@bindir@/znc -f
User=znc
[Install]