Codebase list centreon-engine / 4d64391
Fix in init.d script (#4700). Dorian Guillois 10 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8282 }
8383
8484 service_start() {
85 check_configuration
86
8587 if [ -f $pid_file ] && [ ! -d "/proc/$(cat $pid_file)" ]; then
8688 rm -f $pid_file > /dev/null 2>&1
8789 fi
8890
8991 if [ ! -f $pid_file ]; then
90 check_configuration
91
92 rm -f $command_file > /dev/null 2>&1
9293 su - $user -c "touch $var_dir/centengine.log $retention_file"
9394
9495 if [ $debug -eq 1 ]; then