mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-25 03:19:41 +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
|