# Check if the service is already running?
if [ ! -f /var/lock/subsys/amavisd ]; then
msg_starting Amavisd
- daemon 'su -s /bin/bash amavis -c "/usr/sbin/amavisd"'
+ daemon 'su -s /bin/sh amavis -c "/bin/nice /usr/sbin/amavisd"'
touch /var/lock/subsys/amavisd
else
msg_Already_Running Amavisd
$0 start
;;
*)
- msg_Usage: "$0 {start|stop|status|restart}"
+ msg_usage "$0 {start|stop|status|restart}"
exit 1
esac