added service file

master
s00ner 2021-10-14 09:19:49 -04:00
parent a9ec0a6bee
commit ebc76fe8a3
1 changed files with 15 additions and 0 deletions

15
acbot.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=Quote bot for the AC discord
[Service]
Type=simple
User=s00ner
Group=s00ner
WorkingDirectory=/home/s00ner/datalinks
StandardOutput=syslog
StandardError=syslog
ExecStart=bundle exec /home/s00ner/datalinks/bot.rb
Restart=on-failure
[Install]
WantedBy=multi-user.target