From: Dobrica Pavlinusic Date: Tue, 24 May 2022 06:04:53 +0000 (+0200) Subject: zc-alert systemd service X-Git-Url: http://git.rot13.org/?p=zc;a=commitdiff_plain;h=0c59ee97cc5235b9c0cb5e2ac2b130553279e4e9 zc-alert systemd service --- diff --git a/systemd/zc-alert.service b/systemd/zc-alert.service new file mode 100644 index 0000000..35b81be --- /dev/null +++ b/systemd/zc-alert.service @@ -0,0 +1,12 @@ +[Unit] +Description=ZC alert + +[Service] +User=dpavlin +WorkingDirectory=/home/dpavlin/zc +ExecStart=/home/dpavlin/zc/pg-listen-zc.pl +Restart=always +RestartSec=1s + +[Install] +WantedBy=multi-user.target