mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-20 04:03:15 +02:00
25 lines
610 B
Plaintext
25 lines
610 B
Plaintext
![]() |
[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
|
||
|
Environment=PYTHONPATH=/opt/mailman/etc
|
||
|
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
|