mcserver-discordbot/mc-status-bot.service

13 lines
284 B
SYSTEMD
Raw Permalink Normal View History

2022-04-02 21:01:30 +02:00
# paste this file to /usr/lib/systemd/system/mc-status-bot.service
[Unit]
Description=Minecraft Status Bot
Requires=network.target
[Service]
Type=idle
2022-04-03 08:31:03 +02:00
ExecStart=chmod +x /root/mcserver-discordbot/bot/run.sh && /root/mcserver-discordbot/bot/run.sh
2022-04-02 21:01:30 +02:00
[Install]
2022-04-03 08:31:03 +02:00
WantedBy=default.target