Add systemd service unit file.Fuck systemd, but it's what's available on deb9 so here we go. :/
This commit is contained in:
parent
689e4220ae
commit
4060563627
|
@ -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
|
Loading…
Reference in New Issue