You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
333 B

#!/bin/sh /etc/rc.common
# Copyright (C) 2014 OpenWrt.org
START=50
STOP=50
PYTHON=/usr/bin/python
MAILMANHOME=/usr/local/mailman
MAILMANCTL=$MAILMANHOME/bin/mailmanctl
start() {
#rm -f $MAILMANHOME/locks/*
$PYTHON $MAILMANCTL -s -q start
}
stop() {
$PYTHON $MAILMANCTL -q stop
}
restart() {
$PYTHON $MAILMANCTL -q restart
}