line |
true |
false |
branch |
21
|
129 |
11 |
if defined $PID_DIR |
22
|
0 |
11 |
if ($ENV{'UBIC_DAEMON_PID_DIR'}) { } |
36
|
3 |
5 |
unless ($daemon) |
72
|
0 |
39 |
if ($params->{'ulimit'}) |
75
|
0 |
0 |
if ($@) |
78
|
0 |
0 |
if ('BSD::Resource'->VERSION < 1.29) |
89
|
0 |
140 |
if exists $self->{'pidfile'} |
90
|
0 |
140 |
unless my $name = $self->full_name |
102
|
46 |
101 |
if defined $self->{$_} |
104
|
5 |
16 |
if ($self->{'reload_signal'}) |
107
|
0 |
21 |
if (defined $self->{'daemon_user'}) |
113
|
0 |
21 |
if (defined $self->{'ulimit'}) |
118
|
0 |
0 |
unless ($result) |
129
|
0 |
60 |
if defined $self->{'user'} |
136
|
60 |
0 |
unless defined $groups |
137
|
0 |
0 |
if ref $groups eq 'ARRAY' |
144
|
0 |
15 |
if $self->{'stop_timeout'} |
150
|
44 |
52 |
if (my $daemon = check_daemon($self->pidfile)) { } |
160
|
3 |
8 |
unless (defined $self->{'reload_signal'}) |
184
|
0 |
0 |
unless (defined $SIGNALS{$command}) |