Add extra runtime args to builds.sr.ht service
1 files changed, 5 insertions(+), 1 deletions(-) M sr.ht/builds.sr.ht/builds.sr.ht-worker.initd
M sr.ht/builds.sr.ht/builds.sr.ht-worker.initd => sr.ht/builds.sr.ht/builds.sr.ht-worker.initd +5 -1
@@ 2,6 2,10 @@ name="srht-worker" description="builds.sr.ht build worker" # Override these with /etc/conf.d/builds.sr.ht-worker # A common parameter might be EXTRA_ARGS=-workers [n] where n != nproc EXTRA_ARGS=${EXTRA_ARGS:-} depend() { need net @@ } 9,7 13,7 @@ depend() { start() { ebegin "Starting $name" start-stop-daemon --background --make-pidfile --pidfile /run/$name.pid -u builds \ --exec /usr/bin/builds.sr.ht-worker --exec /usr/bin/builds.sr.ht-worker $EXTRA_ARGS eend $? }