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

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2014 OpenWrt.org
  3. START=50
  4. STOP=50
  5. PYTHON=/usr/bin/python
  6. MAILMANHOME=/usr/local/mailman
  7. MAILMANCTL=$MAILMANHOME/bin/mailmanctl
  8. start() {
  9. #rm -f $MAILMANHOME/locks/*
  10. $PYTHON $MAILMANCTL -s -q start
  11. }
  12. stop() {
  13. $PYTHON $MAILMANCTL -q stop
  14. }
  15. restart() {
  16. $PYTHON $MAILMANCTL -q restart
  17. }