summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/runit/sfive-hub/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/runit/sfive-hub/run b/contrib/runit/sfive-hub/run
index e5ccd17..dde9b39 100755
--- a/contrib/runit/sfive-hub/run
+++ b/contrib/runit/sfive-hub/run
@@ -7,4 +7,6 @@ if [ ! -d "$RUN_D" ]; then
mkdir -p -m0750 "$RUN_D"
fi
chown sfive:sfive "$RUN_D"
+rm -f "$RUN_D/pipegram"
+umask 002
exec chpst -u sfive:sfive /usr/bin/sfive-hub -start-web-server=false -start-pipe-server=false -pipegram="$RUN_D/pipegram"