pysmtp/pysmtp-server.service

13 lines
292 B
INI
Raw Permalink Normal View History

2021-12-28 03:01:00 -03:00
[Unit]
Description=Python SMTP Server
After=multi-user.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /srv/server.py
2021-12-28 03:22:58 -03:00
StandardOutput=append:/var/log/pysmtp-server/messages.log
StandardError=append:/var/log/pysmtp-server/errors.log
2021-12-28 03:01:00 -03:00
[Install]
WantedBy=multi-user.target