Process tree updated to show daemon worker status/activity
Squashed commit of the following: commita785b88b43Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Aug 6 21:32:11 2014 +0100 complete daemon pstree updates commitf77bf5361fMerge:f519410fcb8195Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Aug 6 20:45:22 2014 +0100 Merge branch 'master' into og-proctitle commitf51941076fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 5 22:14:58 2014 +0100 set proctitle on daemon
This commit is contained in:
@@ -69,6 +69,7 @@ Daemon::Control->new({
|
||||
|
||||
sub restarter {
|
||||
my ($daemon, @program_args) = @_;
|
||||
$0 = 'netdisco-daemon';
|
||||
|
||||
my $child = fork_and_start($daemon, @program_args);
|
||||
exit(1) unless $child;
|
||||
|
||||
Reference in New Issue
Block a user