line |
true |
false |
branch |
25
|
0 |
3 |
if ($params{'user'}) |
29
|
0 |
3 |
if ($params{'group'}) |
33
|
3 |
0 |
if ($params{'pidfile'}) |
37
|
0 |
3 |
if ($params{'mkdir'}) |
41
|
0 |
3 |
if ($params{'procname'}) |
45
|
0 |
3 |
if (exists $params{'daemonize'}) |
49
|
0 |
3 |
if ($params{'cleanup_on_destroy'}) |
61
|
0 |
3 |
unless ($$self{'daemon_data'}{'daemonize'}) |
74
|
0 |
1 |
if ($$dd{'user'} or $$dd{'group'}) |
78
|
0 |
0 |
unless (System::Daemon::Utils::validate_user_and_group('user', $$dd{'user'}, 'group', $$dd{'group'})) |
83
|
1 |
0 |
if ($$dd{'pidfile'}) |
86
|
0 |
1 |
if $$dd{'mkdir'} |
88
|
1 |
0 |
if ($$dd{'pidfile'}) |
89
|
0 |
1 |
unless $self->ok_pid |
90
|
1 |
0 |
if ($$dd{'pidfile'}) |
93
|
0 |
1 |
unless ($got_lock) |
105
|
0 |
1 |
if ($$dd{'user'} or $$dd{'group'}) |
112
|
0 |
1 |
if ($$dd{'procname'}) |
116
|
0 |
1 |
if ($$dd{'cleanup_on_destroy'}) |
143
|
0 |
1 |
unless $pidfile |
145
|
0 |
1 |
unless (System::Daemon::Utils::pid_init($$self{'daemon_data'}{'pidfile'})) |
150
|
1 |
0 |
unless ($pid = System::Daemon::Utils::read_pid($pidfile)) |
170
|
2 |
0 |
if ($$dd{'pidfile'}) |