X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FDaemon.pm;h=9d72c327446a9c1fb5b710ce0cdf207c3a765128;hp=f81e589e3aca0433c25bf7a3e567fe9255463277;hb=885641fb6a52ce2095180d912070af378026d631;hpb=9db0800b69580b25d80ab2dd71e220651d4e399b diff --git a/src/PVE/Daemon.pm b/src/PVE/Daemon.pm index f81e589..9d72c32 100644 --- a/src/PVE/Daemon.pm +++ b/src/PVE/Daemon.pm @@ -669,7 +669,7 @@ sub register_start_command { code => sub { my ($param) = @_; - if (&$init_ppid()) { + if (&$init_ppid() || $param->{debug}) { $self->start($param->{debug}); } else { PVE::Tools::run_command(['systemctl', 'start', $self->{name}]);