izmjene za jessie
[amavisd-cn.git] / src / postfixize.sh
index 2b01812..945413f 100755 (executable)
@@ -39,11 +39,11 @@ if [ ! -f $ACONF -o ! -s $ACONF ]; then
 fi
 
 # START AMAVISD
-if [ "$restart_daemon" -a -x /etc/init.d/amavis.amavisd-new ]; then
-  /etc/init.d/amavis.amavisd-new restart
+if [ "$restart_daemon" -a -x /etc/init.d/amavisd-new ]; then
+  /etc/init.d/amavisd-new restart
 fi
 # always check that the daemons are running
 if ! wait_for_fds amavis; then
-  /etc/init.d/amavis.amavisd-new start < /dev/null 
+  /etc/init.d/amavisd-new start < /dev/null 
   wait_for_fds amavis
 fi