From: Gunnar Beutner Date: Fri, 17 Oct 2014 12:37:43 +0000 (+0200) Subject: Remove unnecessary arguments from the systemd service file X-Git-Tag: v2.2.0~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac47649722e61299af13bcec6f4a9334eb5c7cdb;p=icinga2 Remove unnecessary arguments from the systemd service file --- diff --git a/etc/initsystem/icinga2.service.cmake b/etc/initsystem/icinga2.service.cmake index 1de5e75a9..512a9fec8 100644 --- a/etc/initsystem/icinga2.service.cmake +++ b/etc/initsystem/icinga2.service.cmake @@ -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} +ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -d -e ${ICINGA2_ERROR_LOG} PIDFile=@ICINGA2_RUNDIR@/icinga2/icinga2.pid ExecReload=/bin/kill -HUP $MAINPID