Syslog, fix some typos preventing proper stop/start/restart.

This commit is contained in:
Ad Schellevis 2019-07-22 16:25:55 +02:00
parent f56cc1b92f
commit 398e00c0bc
2 changed files with 10 additions and 4 deletions

View File

@ -92,7 +92,7 @@ function core_services()
$services[] = array(
'description' => gettext('Remote Syslog'),
'mwexec' => array(
'php' => array(
"stop" => array('system_syslogd_stop'),
"start" => array('system_syslogd_start'),
"restart" => array('system_syslogd_start')

View File

@ -5,19 +5,25 @@ type:script_output
message:list syslog applications
[start]
command:/usr/local/sbin/pluginctl -s syslog restart
command:/usr/local/sbin/pluginctl -s syslogd restart
parameters:
type:script
message:starting syslog
[stop]
command:/usr/local/sbin/pluginctl -s syslogd stop
parameters:
type:script
message:stopping syslog
[restart]
command:/usr/local/sbin/pluginctl -s syslog restart
command:/usr/local/sbin/pluginctl -s syslogd restart
parameters:
type:script
message:restarting syslog
[reload]
command:/usr/local/sbin/pluginctl -s syslog restart
command:/usr/local/sbin/pluginctl -s syslogd restart
parameters:
type:script
message:reload syslog