M sr.ht/git.sr.ht/git.sr.ht.init => sr.ht/git.sr.ht/git.sr.ht.init +3 -0
@@ 6,6 6,7 @@ description="git.sr.ht service"
GIT_USER=${GIT_USER:-gitsrht}
GIT_BIND=${GIT_BIND:-127.0.0.1:5001}
LOCAL_PG=${LOCAL_PG:-yes}
+LOGS=/var/log/git.sr.ht.log
depend() {
need net
@@ 17,6 18,8 @@ start() {
ebegin "Starting $name"
start-stop-daemon \
-u ${GIT_USER} \
+ -1 "$LOGS" \
+ -2 "$LOGS" \
--background \
--make-pidfile \
--pidfile /run/$name.pid \
M sr.ht/meta.sr.ht/meta.sr.ht.init => sr.ht/meta.sr.ht/meta.sr.ht.init +3 -0
@@ 6,6 6,7 @@ description="meta.sr.ht service"
META_USER=${META_USER:-metasrht}
META_BIND=${META_BIND:-127.0.0.1:5000}
LOCAL_PG=${LOCAL_PG:-yes}
+LOGS=/var/log/meta.sr.ht.log
depend() {
need net
@@ 17,6 18,8 @@ start() {
ebegin "Starting $name"
start-stop-daemon \
-u ${META_USER} \
+ -1 "$LOGS" \
+ -2 "$LOGS" \
--background \
--make-pidfile \
--pidfile /run/$name.pid \