summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-30 01:25:05 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-30 01:38:35 -0400
commitc1ecfe42ff1a0d6bfc918937cf17b07e653f4f81 (patch)
tree0735456dc2074a2fcbbcad63d9142c04f7e7b9a2 /services
parent058c2c2448d20f6deb9f7ef44a9453c9a4d48591 (diff)
downloadconf-c1ecfe42ff1a0d6bfc918937cf17b07e653f4f81.tar.gz
conf-c1ecfe42ff1a0d6bfc918937cf17b07e653f4f81.zip
bring back watch-lock
Diffstat (limited to 'services')
-rwxr-xr-xservices/available/watch-lock/log/run3
-rwxr-xr-xservices/available/watch-lock/run5
2 files changed, 8 insertions, 0 deletions
diff --git a/services/available/watch-lock/log/run b/services/available/watch-lock/log/run
new file mode 100755
index 0000000..fd51f06
--- /dev/null
+++ b/services/available/watch-lock/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec multilog t s16777215 $HOME/.log/watch-lock
diff --git a/services/available/watch-lock/run b/services/available/watch-lock/run
new file mode 100755
index 0000000..f36a7e7
--- /dev/null
+++ b/services/available/watch-lock/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+set -o pipefail
+
+exec watch-lock