diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-23 02:00:22 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-23 02:00:22 +0200 |
commit | a96f0357fde72df98570302bed74edc219de3b29 (patch) | |
tree | 4fac763a629e04702b80e1ee858b3f64bc32d508 /contrib | |
parent | updated changelog for release (diff) |
hub: socket handling at runit script
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/runit/sfive-hub/run | 2 |
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" |