mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-28 19:19:42 +01:00
simple systemctl service script
This commit is contained in:
parent
e8c6125dce
commit
547a4bfed6
12
mc-status-bot.service
Normal file
12
mc-status-bot.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user