mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/clamav: adjust new rc filenames (#4313)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PLUGIN_NAME= clamav
|
||||
PLUGIN_VERSION= 1.8
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_COMMENT= Antivirus engine for detecting malicious threats
|
||||
PLUGIN_DEPENDS= clamav
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
[start]
|
||||
command:
|
||||
/usr/local/etc/rc.d/clamav-freshclam start;
|
||||
/usr/local/etc/rc.d/clamav-clamd start
|
||||
/usr/local/etc/rc.d/clamav_freshclam start;
|
||||
/usr/local/etc/rc.d/clamav_clamd start
|
||||
parameters:
|
||||
type:script
|
||||
message:starting ClamAV
|
||||
|
||||
[stop]
|
||||
command:
|
||||
/usr/local/etc/rc.d/clamav-freshclam stop;
|
||||
/usr/local/etc/rc.d/clamav-clamd stop
|
||||
/usr/local/etc/rc.d/clamav_freshclam stop;
|
||||
/usr/local/etc/rc.d/clamav_clamd stop
|
||||
parameters:
|
||||
type:script
|
||||
message:stopping ClamAV
|
||||
|
||||
[restart]
|
||||
command:
|
||||
/usr/local/etc/rc.d/clamav-freshclam restart;
|
||||
/usr/local/etc/rc.d/clamav-clamd restart
|
||||
/usr/local/etc/rc.d/clamav_freshclam restart;
|
||||
/usr/local/etc/rc.d/clamav_clamd restart
|
||||
parameters:
|
||||
type:script
|
||||
message:restarting ClamAV
|
||||
|
||||
[status]
|
||||
command: /usr/local/etc/rc.d/clamav-clamd status; exit 0
|
||||
command: /usr/local/etc/rc.d/clamav_clamd status; exit 0
|
||||
parameters:
|
||||
type:script_output
|
||||
message:request ClamAV status
|
||||
|
||||
Reference in New Issue
Block a user