From 735b7ff3b9f1d8578d7651078f63682ee17c1022 Mon Sep 17 00:00:00 2001 From: User <> Date: Tue, 19 Mar 2019 05:30:54 +0100 Subject: [PATCH] added robots.txt and systemd unit files --- web/robots.txt | 2 ++ xkcdstatus.service | 8 ++++++++ xkcdstatus.timer | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 web/robots.txt create mode 100644 xkcdstatus.service create mode 100644 xkcdstatus.timer diff --git a/web/robots.txt b/web/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/web/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/xkcdstatus.service b/xkcdstatus.service new file mode 100644 index 0000000..7ee33ff --- /dev/null +++ b/xkcdstatus.service @@ -0,0 +1,8 @@ +[Unit] +Description=Minecraft xkcd server monitor +After=network.target + +[Service] +WorkingDirectory=PATH +ExecStart=PATH/xkcraftia-monitor.sh +Type=simple diff --git a/xkcdstatus.timer b/xkcdstatus.timer new file mode 100644 index 0000000..013fe23 --- /dev/null +++ b/xkcdstatus.timer @@ -0,0 +1,9 @@ +[Unit] +Description=xkcraftia Minecraft monitor timer + +[Timer] +OnBootSec=1m +OnUnitActiveSec=1m + +[Install] +WantedBy=timers.target