mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/nut: rename services (#663)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= nut
|
||||
PLUGIN_VERSION= 0.6
|
||||
PLUGIN_VERSION= 0.7
|
||||
PLUGIN_COMMENT= Network UPS Tools
|
||||
PLUGIN_DEPENDS= nut
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -56,7 +56,7 @@ function nut_services()
|
||||
'stop' => array('nut stop'),
|
||||
),
|
||||
'pidfile' => '/var/db/nut/upsmon.pid',
|
||||
'name' => 'upsmon',
|
||||
'name' => 'nut_upsmon',
|
||||
);
|
||||
|
||||
if (nut_netclient()) {
|
||||
@@ -71,7 +71,7 @@ function nut_services()
|
||||
'stop' => array('nut stop'),
|
||||
),
|
||||
'pidfile' => '/var/db/nut/upsd.pid',
|
||||
'name' => 'nut',
|
||||
'name' => 'nut_daemon',
|
||||
);
|
||||
|
||||
return $services;
|
||||
|
||||
Reference in New Issue
Block a user