pysmtp/pysmtp-sender.service

11 lines
179 B
INI

[Unit]
Description=Python SMTP Sender
After=multi-user.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /srv/sender.py
[Install]
WantedBy=multi-user.target