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.
23 lines
570 B
23 lines
570 B
[Unit]
|
|
Description=GNU Mailman Web UI
|
|
After=syslog.target network.target postgresql.service mailman-core.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
Environment=PATH={{ mailman_root_dir }}/venv/bin:/bin:/sbin
|
|
RuntimeDirectory=uwsgi
|
|
User={{ mailman_user }}
|
|
Group={{ mailman_user }}
|
|
ExecStart={{ mailman_root_dir }}/venv/bin/uwsgi --ini {{ mailman_root_dir }}/etc/uwsgi.ini --die-on-term
|
|
PrivateTmp=yes
|
|
ProtectSystem=full
|
|
ProtectHome=yes
|
|
NoNewPrivileges=yes
|
|
MemoryLimit=1024M
|
|
Restart=on-failure
|
|
StartLimitInterval=0
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|