mirror of
https://lab.it.hs-hannover.de/misc/pymilter-suspicious-from.git
synced 2024-11-27 23:49:55 +01:00
14 lines
307 B
SYSTEMD
14 lines
307 B
SYSTEMD
|
[Unit]
|
||
|
Description=Start and Stop pymilter-suspicious-from
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/srv/venv/pymilter-suspicious-from/bin/python /srv/repo/pymilter-suspicious-from/main.py
|
||
|
|
||
|
# Use an unprivileged user here
|
||
|
User=pymilter-suspicious-from
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|