From a7b59a951b5b884bb2ba0fd1105918d2d5150fcd 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