Add systemd service
This commit is contained in:
parent
ac6f880e23
commit
95af148ceb
|
@ -0,0 +1,13 @@
|
|||
[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
|
||||
|
Loading…
Reference in New Issue