aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-03-17 16:15:09 +0000
committerJeff Bilyk <jbilyk@gmail.com>2012-03-17 16:15:09 +0000
commitf0f42e1987f3ed02f584fd78938b5511e851ab33 (patch)
tree71a07ea62ba0ef3774e5d71fcc1fc9a0997a6ebd /main/clamav
parent20c64ce990b0e415b587f0be3f0ce1dfea38f072 (diff)
downloadaports-f0f42e1987f3ed02f584fd78938b5511e851ab33.tar.bz2
aports-f0f42e1987f3ed02f584fd78938b5511e851ab33.tar.xz
main/clamav: replace opts
fixes #945
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/clamd.initd4
-rw-r--r--main/clamav/freshclam.initd3
2 files changed, 5 insertions, 2 deletions
diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd
index 2864267e1e..0e17010247 100644
--- a/main/clamav/clamd.initd
+++ b/main/clamav/clamd.initd
@@ -1,6 +1,8 @@
#!/sbin/runscript
-opts="logfix reload"
+extra_started_commands="reload"
+extra_commands="logfix"
+
NAME=clamd
CONF=/etc/clamav/clamd.conf
diff --git a/main/clamav/freshclam.initd b/main/clamav/freshclam.initd
index f25fec434d..2efd2e48d7 100644
--- a/main/clamav/freshclam.initd
+++ b/main/clamav/freshclam.initd
@@ -1,6 +1,7 @@
#!/sbin/runscript
-opts="logfix reload"
+extra_started_commands="reload"
+extra_commands="logfix"
NAME=freshclam
DAEMON=/usr/bin/$NAME