Added service file. Fixed missing bot intents
This commit is contained in:
16
lostark_bot.service
Normal file
16
lostark_bot.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Lost Ark Server Status Discord Bot
|
||||
After=network.target multi-user.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=pi
|
||||
WorkingDirectory=/root/lostark_bot
|
||||
ExecStart=/usr/bin/python3 /root/lostark_bot/bot.py
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=LostArkBot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user