mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Run check_run only in do_start()
This commit is contained in:
parent
c2f8d109b5
commit
63888508a4
3
debian/icinga2-common.icinga2.init
vendored
3
debian/icinga2-common.icinga2.init
vendored
@ -61,6 +61,7 @@ check_config () {
|
||||
#
|
||||
do_start()
|
||||
{
|
||||
check_run
|
||||
# Return
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
@ -140,8 +141,6 @@ do_check_config () {
|
||||
fi
|
||||
}
|
||||
|
||||
check_run
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
do_check_config
|
||||
|
Loading…
x
Reference in New Issue
Block a user