Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
11
etc/init/clamav-milter.conf
Normal file
11
etc/init/clamav-milter.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
description "clamav mail virus scanner for sendmail startup"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started clamd))
|
||||||
|
stop on stopping clamd
|
||||||
|
|
||||||
|
console output
|
||||||
|
|
||||||
|
exec /usr/sbin/clamav-milter
|
11
etc/init/clamd.conf
Normal file
11
etc/init/clamd.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
description "clamav virus scanner deamon startup"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started ifup))
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
console output
|
||||||
|
|
||||||
|
exec /usr/sbin/clamd
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 clamav
|
chmod 755 clamav
|
||||||
@ -16,3 +17,4 @@ for i in 3 4 5; do
|
|||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
8
tmp/postremove
Normal file
8
tmp/postremove
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if getent passwd clamav >/dev/null; then
|
||||||
|
userdel clamav
|
||||||
|
fi
|
||||||
|
if getent group clamav >/dev/null; then
|
||||||
|
groupdel clamav
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user