Add pypopper.service

This commit is contained in:
psionrevo 2024-10-06 15:18:05 +00:00
commit 24e916b560
1 changed files with 16 additions and 0 deletions

16
pypopper.service Normal file
View File

@ -0,0 +1,16 @@
[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