aboutsummaryrefslogtreecommitdiff
path: root/dot_config/service/turnstile-ready/executable_run
diff options
context:
space:
mode:
authortwells46 <173561638+twells46@users.noreply.github.com>2025-12-31 13:28:05 -0600
committertwells46 <173561638+twells46@users.noreply.github.com>2025-12-31 13:28:05 -0600
commit2140ab51deed88e90eafebf9520fa5f9995dc7c9 (patch)
tree03cf1dcd2900495c1efb79aaa85f3254ecd5fb87 /dot_config/service/turnstile-ready/executable_run
parentff8f50638e4b17a9d7cc88d2f0d9560b7effce39 (diff)
Migrate from stow
Diffstat (limited to 'dot_config/service/turnstile-ready/executable_run')
-rw-r--r--dot_config/service/turnstile-ready/executable_run10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/service/turnstile-ready/executable_run b/dot_config/service/turnstile-ready/executable_run
new file mode 100644
index 0000000..ff8d3d1
--- /dev/null
+++ b/dot_config/service/turnstile-ready/executable_run
@@ -0,0 +1,10 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+[ -n "$core_services" ] && SVDIR=".." sv start $core_services
+if [ -n "$core_services" ]; then
+ until SVDIR=".." sv check $core_services; do
+ :
+ done
+fi
+[ -p "/run/turnstiled/1000/ready" ] && printf "/home/tom/.config/service/turnstile-ready" > "/run/turnstiled/1000/ready"
+exec pause