zc-alert systemd service
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 24 May 2022 06:04:53 +0000 (08:04 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 24 May 2022 06:04:53 +0000 (08:04 +0200)
systemd/zc-alert.service [new file with mode: 0644]

diff --git a/systemd/zc-alert.service b/systemd/zc-alert.service
new file mode 100644 (file)
index 0000000..35b81be
--- /dev/null
@@ -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