From 547a4bfed69daab1439179363b6993ec03f074e2 Mon Sep 17 00:00:00 2001 From: Specoolazius Date: Sat, 2 Apr 2022 21:01:30 +0200 Subject: [PATCH] simple systemctl service script --- mc-status-bot.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mc-status-bot.service diff --git a/mc-status-bot.service b/mc-status-bot.service new file mode 100644 index 0000000..434978d --- /dev/null +++ b/mc-status-bot.service @@ -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 \ No newline at end of file