aboutsummaryrefslogtreecommitdiff
path: root/init/s6/run
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-16 23:04:13 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-16 23:04:13 -0400
commit2b0e915bb105f08ab90c393e339b9914ca940272 (patch)
tree3e0f5a52d4df8a6852bcff1302b0e22133797b86 /init/s6/run
parent1c4ec1e5bdc951ae037c1760df3b9e104b2b552f (diff)
downloadomnisearch-2b0e915bb105f08ab90c393e339b9914ca940272.tar.gz
docs+fix: update README.md, fix s6 and runit services
Diffstat (limited to 'init/s6/run')
-rwxr-xr-xinit/s6/run5
1 files changed, 3 insertions, 2 deletions
diff --git a/init/s6/run b/init/s6/run
index f82a54e..bce82e0 100755
--- a/init/s6/run
+++ b/init/s6/run
@@ -1,3 +1,4 @@
-#!/bin/execlineb -P
+#! /bin/execlineb -P
foreground { s6-setsid -g }
-exec -c chpst -u omnisearch:omnisearch /usr/bin/omnisearch \ No newline at end of file
+cd /etc/omnisearch
+exec s6-setuidgid omnisearch /usr/bin/omnisearch \ No newline at end of file