]> granicus.if.org Git - icinga2/commitdiff
Fix systemd unit file
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 16 Oct 2014 10:08:21 +0000 (12:08 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 16 Oct 2014 10:08:21 +0000 (12:08 +0200)
refs #7246

etc/initsystem/icinga2.service.cmake

index d97027024f8fbcd73db1161ff2143c5018281868..1de5e75a9ec1a53f36c83d673d45bef1bef69bc3 100644 (file)
@@ -6,7 +6,7 @@ After=syslog.target postgresql.service mariadb.service carbon-cache.service
 Type=forking
 EnvironmentFile=@ICINGA2_SYSCONFIGFILE@
 ExecStartPre=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2-prepare-dirs @ICINGA2_SYSCONFIGFILE@
-ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -c ${ICINGA2_CONFIG_FILE} -d -e ${ICINGA2_ERROR_LOG} -u ${ICINGA2_USER} -g ${ICINGA2_GROUP}
+ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -c ${ICINGA2_CONFIG_FILE} -d -e ${ICINGA2_ERROR_LOG}
 PIDFile=@ICINGA2_RUNDIR@/icinga2/icinga2.pid
 ExecReload=/bin/kill -HUP $MAINPID