mailman/templates/mailmansuite-uwsgi.service....

17 lines
474 B
Django/Jinja

[Unit]
Description=uWSGI Emperor Service for postorius and HyperKitty
After=syslog.target
[Service]
ExecStart=/usr/sbin/uwsgi --ini {{ mailman_postorius_uwsgi_config_file }} --pidfile {{ mailman_postorius_uwsgi_rundir }}/uwsgi.pid --stats {{ mailman_postorius_uwsgi_rundir }}/stats.sock
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
Restart=always
Type=notify
StandardError=syslog
NotifyAccess=all
SyslogIdentifier=mailmansuite
[Install]
WantedBy=multi-user.target