Add systemd service unit file.Fuck systemd, but it's what's available on deb9 so here we go. :/

This commit is contained in:
Maff 2019-04-29 12:48:16 +00:00
parent 689e4220ae
commit 4060563627
1 changed files with 16 additions and 0 deletions

16
trashtalker.service Normal file
View File

@ -0,0 +1,16 @@
[Unit]
Description=TrashTalker
Wants=network.target
After=network.target
[Service]
KillMode=process
Type=simple
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/local/bin/trashtalker.py
Restart=on-failure
User=nobody
[Install]
WantedBy=multi-user.target