From 76e62815c5a61bec3a991177692f556c21e283e3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Oct 2020 12:02:11 +0500 Subject: [PATCH] Add sample systemd unit file --- systemd/webhook-catcher.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd/webhook-catcher.service diff --git a/systemd/webhook-catcher.service b/systemd/webhook-catcher.service new file mode 100644 index 0000000..8c2398c --- /dev/null +++ b/systemd/webhook-catcher.service @@ -0,0 +1,12 @@ +[Unit] +Description=Webhook catcher +After=network.target + +[Service] +User=whcd +Group=whcd + +ExecStart=/usr/sbin/webhook-catcher -c /etc/webhook-catcher/config.json + +[Install] +WantedBy=multi-user.target