diff --git a/pymilter-suspicious-from.service b/pymilter-suspicious-from.service new file mode 100644 index 0000000..0a74346 --- /dev/null +++ b/pymilter-suspicious-from.service @@ -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 +