From 6410fd8d58e250a877a0bcdab06184e45e707c65 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:34:32 +0200 Subject: Initial Systemd Service Run: 1/3 Signed-off-by: Georg --- systemd/watbot@.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systemd/watbot@.service (limited to 'systemd/watbot@.service') diff --git a/systemd/watbot@.service b/systemd/watbot@.service new file mode 100644 index 0000000..6dc2f58 --- /dev/null +++ b/systemd/watbot@.service @@ -0,0 +1,13 @@ +[Unit] +Description=watbot for %i +Wants=network.target + +[Service] +User=watbot +Group=watbot +ExecStart=/opt/watbot/watbot-%i.sh +Restart=always +RestartSec=15 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3