fi
a2enconf mailman-cn
+a2enmod cgi
if [ -L /etc/apache2/conf.d/mailman-cn.conf ]; then
rm -f /etc/apache2/conf.d/mailman-cn.conf
db_stop || true
# restart mailman
-if [ "$restart" = "yes" -a -x /etc/init.d/mailman -a -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d mailman stop
- invoke-rc.d mailman start
+if [ "$restart" = "yes" ]; then
+ service mailman stop
+ service mailman start
fi
# reload apache2
-if [ -x /usr/sbin/invoke-rc.d -a -x /etc/init.d/apache2 ]; then
- invoke-rc.d apache2 reload
-fi
+service apache2 reload
# promjena passworda
echo