summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-23 02:00:22 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-23 02:00:22 +0200
commita96f0357fde72df98570302bed74edc219de3b29 (patch)
tree4fac763a629e04702b80e1ee858b3f64bc32d508 /contrib
parentupdated changelog for release (diff)
hub: socket handling at runit script
Diffstat (limited to 'contrib')
-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"