| line |
true |
false |
branch |
|
17
|
0 |
0 |
if (not $command or $command eq 'help') |
|
38
|
0 |
0 |
if ($command eq 'version') |
|
43
|
0 |
0 |
if ($command eq 'systemd') |
|
52
|
0 |
0 |
if ($create_unit) |
|
57
|
0 |
0 |
if ($command eq 'upstart') |
|
66
|
0 |
0 |
if ($create_unit) |
|
71
|
0 |
0 |
if ($command eq 'setup') |
|
74
|
0 |
0 |
unless (-d $self->app->config->{'project_path'}) |
|
81
|
0 |
0 |
unless (-d dirname($self->app->config->{'minion_db_file'})) |
|
88
|
0 |
0 |
unless (-d $self->app->config->{'upload_tmp_path'}) |
|
95
|
0 |
0 |
unless (-d dirname($self->app->config->{'auth'}{'passwd'})) |
|
102
|
0 |
0 |
if (exists $self->app->config->{'log'}{'audit_log'} and not -d dirname($self->app->config->{'log'}{'audit_log'})) |
|
112
|
0 |
0 |
if (exists $self->app->config->{'log'}{'access_log'} and not -d dirname($self->app->config->{'log'}{'access_log'})) |
|
122
|
0 |
0 |
unless (-f $self->app->config->{'auth'}{'passwd'}) |
|
130
|
0 |
0 |
if ($changed == 0) |
|
136
|
0 |
0 |
if ($command eq 'adduser') |
|
146
|
0 |
0 |
if ($command eq 'deluser') |
|
156
|
0 |
0 |
unless open my $fh, '>', $self->app->config->{'auth'}{'passwd'} |
|
161
|
0 |
0 |
if ($command eq 'listuser') |
|
189
|
0 |
0 |
unless open my $fh, '>>', $self->app->config->{'auth'}{'passwd'} |
|
203
|
0 |
0 |
unless open my $fh, '>', '/etc/init/rex-jobcontrol.conf' |
|
216
|
0 |
0 |
unless open $fh, '>', '/etc/init/rex-jobcontrol-minion.conf' |
|
238
|
0 |
0 |
unless open my $fh, '>', '/lib/systemd/system/rex-jobcontrol.service' |
|
253
|
0 |
0 |
unless open my $fh_m, '>', '/lib/systemd/system/rex-jobcontrol-minion.service' |