11 lines
187 B
Plaintext
11 lines
187 B
Plaintext
|
#!/usr/bin/perl
|
||
|
|
||
|
require './nagios-lib.pl';
|
||
|
&ReadParse();
|
||
|
&error_setup($text{'start_err'});
|
||
|
|
||
|
my ($err, $out) = exec_cmd('systemctl start nagios');
|
||
|
&error($out) if ($err);
|
||
|
|
||
|
&redirect("");
|