]> granicus.if.org Git - icinga2/commitdiff
Fix obsolete parameter in Systemd script
authorMichael Friedrich <michael.friedrich@icinga.com>
Tue, 5 Jun 2018 12:03:39 +0000 (14:03 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Tue, 5 Jun 2018 12:03:39 +0000 (14:03 +0200)
refs #6328

etc/initsystem/icinga2.service.cmake

index 771c98f7b3835afb984099e7c61768ff46335071..27744e5aa94ba6398b96adb7a231c0ad2b793908 100644 (file)
@@ -5,10 +5,10 @@ After=syslog.target network-online.target postgresql.service mariadb.service car
 [Service]
 Type=notify
 EnvironmentFile=@ICINGA2_SYSCONFIGFILE@
-ExecStartPre=@CMAKE_INSTALL_PREFIX@/lib/icinga2/prepare-dirs @ICINGA2_SYSCONFIGFILE@
+ExecStartPre=@CMAKE_INSTALL_PREFIX@/lib/icinga2/prepare-dirs
 ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -e ${ICINGA2_ERROR_LOG}
 PIDFile=@ICINGA2_RUNDIR@/icinga2/icinga2.pid
-ExecReload=@CMAKE_INSTALL_PREFIX@/lib/icinga2/safe-reload @ICINGA2_SYSCONFIGFILE@
+ExecReload=@CMAKE_INSTALL_PREFIX@/lib/icinga2/safe-reload
 TimeoutStartSec=30m
 
 # Systemd >228 enforces a lower process number for services.