aboutsummaryrefslogtreecommitdiff
path: root/rc.zot/zot-srv/run
blob: 44c40c7b9580e7dec915d9f176578a8bad10d26c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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