summaryrefslogtreecommitdiff
path: root/roles/common/files/onmon.service
diff options
context:
space:
mode:
authoruvok cheetah2024-04-04 21:22:13 +0200
committeruvok cheetah2024-04-04 21:22:13 +0200
commit79d1fce98cf519a224f8b53fc6690ed070040374 (patch)
tree954b9eb761642aeb8d7587fc05056e8cbf13f18d /roles/common/files/onmon.service
parentaaaa51c97edcb16481361be702fc08e895172008 (diff)
Instal jq, add online monitor
Diffstat (limited to 'roles/common/files/onmon.service')
-rw-r--r--roles/common/files/onmon.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/common/files/onmon.service b/roles/common/files/onmon.service
new file mode 100644
index 0000000..8ac3020
--- /dev/null
+++ b/roles/common/files/onmon.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Online monitor
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=/usr/local/bin/onmon.sh
+
+[Install]
+WantedBy=default.target