M sr.ht/builds.sr.ht/builds.sr.ht.init => sr.ht/builds.sr.ht/builds.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="builds.sr.ht service"
# Override these with /etc/conf.d/builds.sr.ht
BUILDS_USER=${BUILDS_USER:-builds}
BUILDS_BIND=${BUILDS_BIND:-127.0.0.1:5000}
+BUILDS_ARGS=${BUILDS_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/builds.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- buildsrht.app:app -b ${BUILDS_BIND}
+ buildsrht.app:app -b ${BUILDS_BIND} ${BUILDS_ARGS}
eend $?
}
M sr.ht/git.sr.ht/git.sr.ht.init => sr.ht/git.sr.ht/git.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="git.sr.ht service"
# Override these with /etc/conf.d/git.sr.ht
GIT_USER=${GIT_USER:-gitsrht}
GIT_BIND=${GIT_BIND:-127.0.0.1:5001}
+GIT_ARGS=${GIT_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/git.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- gitsrht.app:app -b ${GIT_BIND}
+ gitsrht.app:app -b ${GIT_BIND} ${GIT_ARGS}
eend $?
}
M sr.ht/hg.sr.ht/hg.sr.ht.init => sr.ht/hg.sr.ht/hg.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="hg.sr.ht service"
# Override these with /etc/conf.d/hg.sr.ht
HG_USER=${HG_USER:-hg}
HG_BIND=${HG_BIND:-127.0.0.1:5001}
+HG_ARGS=${HG_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/hg.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- hgsrht.app:app -b ${HG_BIND}
+ hgsrht.app:app -b ${HG_BIND} ${HG_ARGS}
eend $?
}
M sr.ht/lists.sr.ht/lists.sr.ht.init => sr.ht/lists.sr.ht/lists.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="lists.sr.ht service"
# Override these with /etc/conf.d/lists.sr.ht
LISTS_USER=${LISTS_USER:-listssrht}
LISTS_BIND=${LISTS_BIND:-127.0.0.1:5001}
+LISTS_ARGS=${LISTS_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/lists.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- listssrht.app:app -b ${LISTS_BIND}
+ listssrht.app:app -b ${LISTS_BIND} ${LISTS_ARGS}
eend $?
}
M sr.ht/man.sr.ht/man.sr.ht.init => sr.ht/man.sr.ht/man.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="man.sr.ht service"
# Override these with /etc/conf.d/man.sr.ht
MAN_USER=${MAN_USER:-man}
MAN_BIND=${MAN_BIND:-127.0.0.1:5004}
+MAN_ARGS=${MAN_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/man.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- mansrht.app:app -b ${MAN_BIND}
+ mansrht.app:app -b ${MAN_BIND} ${MAN_ARGS}
eend $?
}
M sr.ht/meta.sr.ht/meta.sr.ht.init => sr.ht/meta.sr.ht/meta.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="meta.sr.ht service"
# Override these with /etc/conf.d/meta.sr.ht
META_USER=${META_USER:-meta}
META_BIND=${META_BIND:-127.0.0.1:5000}
+META_ARGS=${META_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/meta.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- metasrht.app:app_dispatch -b ${META_BIND}
+ metasrht.app:app_dispatch -b ${META_BIND} ${META_ARGS}
eend $?
}
M sr.ht/todo.sr.ht/todo.sr.ht.init => sr.ht/todo.sr.ht/todo.sr.ht.init +2 -1
@@ 5,6 5,7 @@ description="todo.sr.ht service"
# Override these with /etc/conf.d/todo.sr.ht
TODO_USER=${TODO_USER:-todo}
TODO_BIND=${TODO_BIND:-127.0.0.1:5000}
+TODO_ARGS=${TODO_ARGS:-}
LOCAL_PG=${LOCAL_PG:-yes}
LOGS=/var/log/todo.sr.ht.log
@@ 26,7 27,7 @@ start() {
--make-pidfile \
--pidfile /run/$name.pid \
--exec /usr/bin/gunicorn -- \
- todosrht.app:app -b ${TODO_BIND}
+ todosrht.app:app -b ${TODO_BIND} ${TODO_ARGS}
eend $?
}