pypopper/pypopper.service

16 lines
318 B
SYSTEMD

[Unit]
Description = PyPopper
After = network.target
[Service]
Type = simple
Environment="PATH=/root/popper/venv/bin"
ExecStart = python3 /root/popper/pypopper.py 110 /root/popper/email.txt
User = root
Group = root
Restart = on-failure
RestartSec = 5
TimeoutStartSec = infinity
[Install]
WantedBy = multi-user.target