Attachment 'mailman_init.txt'

Download

   1 ### BEGIN INIT INFO
   2 # Provides:            GNU Mailman
   3 # Required-Start:      $local_fs $network
   4 # Required-Stop:       $local_fs $network
   5 # Default-Start:       2 3 4 5
   6 # Default-Stop:        0 1 6
   7 # Short-Description:   Mailman Service
   8 # Description:         service control for Mailman
   9 ### END INIT INFO
  10 
  11 PATH=/opt/mailman/mailman-bundler/bin:/usr/sbin:/usr/bin:/bin:/sbin:
  12 DESC="GNU Mailman service"
  13 DAEMON=/opt/mailman/mailman-bundler/bin/mailman
  14 NAME=mailman
  15 USER=mailman
  16 GROUP=mailman
  17 
  18 # Exit if the package is not installed
  19 [ -x "$DAEMON" ] || exit 0
  20 
  21 # Load the VERBOSE setting and other rcS variables
  22 . /lib/init/vars.sh
  23 
  24 # Define LSB log_* functions.
  25 # Depend on lsb-base (>= 3.2-14) to ensure that this file is present
  26 # and status_of_proc is working.
  27 . /lib/lsb/init-functions
  28 
  29 case "$1" in
  30   start)
  31         [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
  32         # use --force to remove a stale lock.
  33         sudo -u $USER $DAEMON start --force
  34         ;;
  35   stop)
  36         [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
  37         sudo -u $USER $DAEMON stop
  38         ;;
  39   status)
  40         sudo -u $USER $DAEMON status
  41         ;;
  42   reopen)
  43         sudo -u $USER $DAEMON reopen
  44         ;;
  45   restart)
  46         log_daemon_msg "Restarting $DESC" "$NAME"
  47         sudo -u $USER $DAEMON restart
  48         ;;
  49   *)
  50         echo "Usage: $SCRIPTNAME {start|stop|status|reopen|restart}" >&2
  51         exit 3
  52         ;;
  53 esac

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2018-12-17 04:18:21, 0.7 KB) [[attachment:apache_gunicorn.txt]]
  • [get | view] (2018-06-01 21:24:22, 0.3 KB) [[attachment:build_script.txt]]
  • [get | view] (2018-10-19 22:51:40, 0.2 KB) [[attachment:django-admin.txt]]
  • [get | view] (2016-10-15 02:46:23, 0.6 KB) [[attachment:domain_admin_notice_new-list.txt]]
  • [get | view] (2016-07-03 23:19:17, 0.1 KB) [[attachment:footer-generic.txt]]
  • [get | view] (2018-10-19 22:40:37, 0.2 KB) [[attachment:gunicorn.conf]]
  • [get | view] (2018-10-19 22:51:59, 0.2 KB) [[attachment:gunicorn.txt]]
  • [get | view] (2018-12-14 23:21:42, 1.5 KB) [[attachment:init.d_mailman.txt]]
  • [get | view] (2016-10-15 02:47:55, 0.3 KB) [[attachment:list_admin_action_post.txt]]
  • [get | view] (2016-10-15 02:51:01, 0.4 KB) [[attachment:list_member_digest_masthead.txt]]
  • [get | view] (2016-10-15 02:51:47, 0.1 KB) [[attachment:list_member_generic_footer.txt]]
  • [get | view] (2016-10-15 02:52:45, 0.2 KB) [[attachment:list_user_notice_post.txt]]
  • [get | view] (2016-10-15 02:53:25, 0.8 KB) [[attachment:list_user_notice_probe.txt]]
  • [get | view] (2016-10-15 02:54:12, 0.6 KB) [[attachment:list_user_notice_welcome.txt]]
  • [get | view] (2016-07-03 21:45:21, 0.4 KB) [[attachment:lm3o_gunicorn.conf.txt]]
  • [get | view] (2016-07-03 21:41:27, 0.4 KB) [[attachment:lm3o_gunicorn.txt]]
  • [get | view] (2016-07-03 21:56:08, 0.4 KB) [[attachment:lm3o_hyperkitty.cfg.txt]]
  • [get | view] (2016-07-03 21:53:00, 1.0 KB) [[attachment:lm3o_mailman.cfg.txt]]
  • [get | view] (2020-07-27 00:26:27, 1.8 KB) [[attachment:lm3o_nginx.txt]]
  • [get | view] (2020-07-27 00:13:20, 1.8 KB) [[attachment:lm3o_nginx2.txt]]
  • [get | view] (2016-07-03 22:03:34, 0.3 KB) [[attachment:lm3o_postfix.txt]]
  • [get | view] (2016-07-03 21:49:52, 3.8 KB) [[attachment:lm3o_settings_local.txt]]
  • [get | view] (2017-04-01 16:24:00, 0.8 KB) [[attachment:lm3o_urls.txt]]
  • [get | view] (2018-10-19 22:30:14, 0.4 KB) [[attachment:mailman-hyperkitty.cfg]]
  • [get | view] (2018-10-19 23:08:37, 0.8 KB) [[attachment:mailman-post-update.txt]]
  • [get | view] (2018-10-19 22:27:27, 0.9 KB) [[attachment:mailman.cfg]]
  • [get | view] (2018-10-19 22:52:25, 0.1 KB) [[attachment:mailman.txt]]
  • [get | view] (2019-11-08 00:26:04, 0.6 KB) [[attachment:mailman_crontab.txt]]
  • [get | view] (2017-01-10 01:02:14, 1.4 KB) [[attachment:mailman_init.txt]]
  • [get | view] (2016-07-03 23:19:28, 0.4 KB) [[attachment:masthead.txt]]
  • [get | view] (2016-07-03 22:26:05, 0.6 KB) [[attachment:mpo_lmtp_patch.txt]]
  • [get | view] (2016-07-03 22:12:07, 0.1 KB) [[attachment:mpo_mailman.cfg.add.txt]]
  • [get | view] (2016-07-03 22:14:30, 0.4 KB) [[attachment:mpo_postfix.cfg.txt]]
  • [get | view] (2016-07-03 22:23:02, 0.6 KB) [[attachment:mpo_postfix_main.txt]]
  • [get | view] (2016-07-03 22:16:38, 0.7 KB) [[attachment:mpo_postmap.txt]]
  • [get | view] (2016-07-04 01:35:54, 0.6 KB) [[attachment:mpo_settings_diff.txt]]
  • [get | view] (2020-07-30 18:57:00, 1.1 KB) [[attachment:mpo_wsgi.txt]]
  • [get | view] (2016-07-03 23:19:40, 0.6 KB) [[attachment:newlist.txt]]
  • [get | view] (2016-07-03 23:31:41, 0.3 KB) [[attachment:postack.txt]]
  • [get | view] (2016-07-03 23:19:49, 0.8 KB) [[attachment:probe.txt]]
  • [get | view] (2016-10-15 03:31:25, 12.3 KB) [[attachment:production.py]]
  • [get | view] (2018-06-01 21:18:34, 0.1 KB) [[attachment:pull_script.txt]]
  • [get | view] (2019-11-07 04:24:21, 5.8 KB) [[attachment:settings_local.py]]
  • [get | view] (2018-12-14 23:02:50, 0.4 KB) [[attachment:systemd_gunicorn.txt]]
  • [get | view] (2018-12-14 23:04:48, 0.4 KB) [[attachment:systemd_mailman.txt]]
  • [get | view] (2018-12-14 23:06:17, 0.3 KB) [[attachment:systemd_qcluster.txt]]
  • [get | view] (2019-01-15 21:22:55, 0.2 KB) [[attachment:upstart_gunicorn.txt]]
  • [get | view] (2019-01-15 21:27:19, 0.2 KB) [[attachment:upstart_qcluster.txt]]
  • [get | view] (2019-01-16 20:40:43, 1.4 KB) [[attachment:urls.py]]
  • [get | view] (2016-07-03 23:19:57, 0.6 KB) [[attachment:welcome.txt]]
  • [get | view] (2018-10-19 22:34:33, 1.1 KB) [[attachment:wsgi.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.