# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
-
+[ -e /proxmox_install_mode ] && exit 0
+
START_FIREWALL=yes
# Read configuration variable file if it is present
;;
reload|restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
- if ( [ -e $PIDFILE ] && kill -0 `cat $PIDFILE`) then
- start-stop-daemon --stop --quiet --pidfile $PIDFILE --signal HUP
- else
- $DAEMON start
- fi
- log_end_msg $?
+ $DAEMON restart
+ log_end_msg $?
;;
*)
N=/etc/init.d/$NAME