pypopper/pypopper.service

16 lines
318 B
SYSTEMD
Raw Normal View History

2024-10-06 15:18:05 +00:00
[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