mirror of
https://lab.it.hs-hannover.de/misc/pymilter-suspicious-from.git
synced 2025-02-21 08:52:40 +01:00
Add systemd service
This commit is contained in:
parent
ac6f880e23
commit
95af148ceb
13
pymilter-suspicious-from.service
Normal file
13
pymilter-suspicious-from.service
Normal file
@ -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
Block a user