add unit file

This commit is contained in:
stryan 2020-12-20 15:39:23 -05:00
parent 1cba69878e
commit 3ee5172488
1 changed files with 13 additions and 0 deletions

13
init/yammerbot.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Yammerbot: A Discord bot for Mumble
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/local/bin/yammerbot
[Install]
WantedBy=multi-user.target