| line |
true |
false |
branch |
|
17
|
0 |
0 |
if (not $command or $command eq 'help') |
|
35
|
0 |
0 |
if ($command eq 'systemd') |
|
44
|
0 |
0 |
if ($create_unit) |
|
49
|
0 |
0 |
if ($command eq 'upstart') |
|
58
|
0 |
0 |
if ($create_unit) |
|
63
|
0 |
0 |
if ($command eq 'setup') |
|
66
|
0 |
0 |
unless (-d $self->app->config->{'project_path'}) |
|
72
|
0 |
0 |
unless (-d dirname($self->app->config->{'minion_db_file'})) |
|
78
|
0 |
0 |
unless (-d dirname($self->app->config->{'auth'}{'passwd'})) |
|
84
|
0 |
0 |
unless (-f $self->app->config->{'auth'}{'passwd'}) |
|
90
|
0 |
0 |
if ($changed == 0) |
|
96
|
0 |
0 |
if ($command eq 'adduser') |
|
106
|
0 |
0 |
if ($command eq 'deluser') |
|
116
|
0 |
0 |
unless open my $fh, '>', $self->app->config->{'auth'}{'passwd'} |
|
121
|
0 |
0 |
if ($command eq 'listuser') |
|
149
|
0 |
0 |
unless open my $fh, '>>', $self->app->config->{'auth'}{'passwd'} |
|
163
|
0 |
0 |
unless open my $fh, '>', '/etc/init/rex-jobcontrol.conf' |
|
176
|
0 |
0 |
unless open $fh, '>', '/etc/init/rex-jobcontrol-minion.conf' |
|
198
|
0 |
0 |
unless open my $fh, '>', '/lib/systemd/system/rex-jobcontrol.service' |
|
213
|
0 |
0 |
unless open my $fh_m, '>', '/lib/systemd/system/rex-jobcontrol-minion.service' |