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
|
|
|