mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-24 19:49:43 +01:00
13 lines
284 B
Desktop File
13 lines
284 B
Desktop File
# paste this file to /usr/lib/systemd/system/mc-status-bot.service
|
|
|
|
[Unit]
|
|
Description=Minecraft Status Bot
|
|
Requires=network.target
|
|
|
|
[Service]
|
|
Type=idle
|
|
ExecStart=chmod +x /root/mcserver-discordbot/bot/run.sh && /root/mcserver-discordbot/bot/run.sh
|
|
|
|
[Install]
|
|
WantedBy=default.target
|