aboutsummaryrefslogtreecommitdiff
path: root/rc.zot/zot-srv/run
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-11-16 04:59:50 +0100
committerEugen Wissner <belka@caraus.de>2026-11-16 04:59:50 +0100
commit7af33bd4079b1ccea362d6e32729d7ba3ea0df99 (patch)
tree9641dee6ecb3c3d8dc5dada18794b390ce271214 /rc.zot/zot-srv/run
parent1ea2bc9b308b8c05ab09ef463f638f993e747f39 (diff)
downloads6-7af33bd4079b1ccea362d6e32729d7ba3ea0df99.tar.gz
Add rc.zot registry service
Diffstat (limited to 'rc.zot/zot-srv/run')
-rw-r--r--rc.zot/zot-srv/run14
1 files changed, 14 insertions, 0 deletions
diff --git a/rc.zot/zot-srv/run b/rc.zot/zot-srv/run
new file mode 100644
index 0000000..44c40c7
--- /dev/null
+++ b/rc.zot/zot-srv/run
@@ -0,0 +1,14 @@
+#!/bin/execlineb -P
+
+######################
+# Start zot registry #
+######################
+
+fdmove -c 2 1
+s6-setuidgid zot
+s6-envdir env
+multisubstitute {
+ importas -iu CMD CMD
+ importas -usCd" " CMD_OPTS CMD_OPTS
+}
+exec -c $CMD $CMD_OPTS