mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-28 18:59:47 +01:00
12 lines
230 B
SYSTEMD
12 lines
230 B
SYSTEMD
|
# paste this file to /usr/lib/systemd/system/mc-status-bot.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=Minecraft Status Bot
|
||
|
Requires=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=idle
|
||
|
ExecStart=~/mcserver-discordbot/bot/run.sh
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|