Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
pen
runpen.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File runpen.sh of Package pen
#!/bin/sh #set -x # # Script that monitors and restarts a pen load balancer instance # # Parameters: name of the configuration file # # Original author: Torsten.Goedicke@wlw.de # Modified for SUSE LINUX by joe@suse.de DAEMON=/usr/bin/pen CFFILE="$1" test ! -x "$DAEMON" && echo "Error: pen binary missing" && exit 0 test ! -f "$CFFILE" && echo "Error: pen configuration file missing" && exit 0 RUN=yes while [ $RUN = "yes" ] do PARAM=`cat $CFFILE` $DAEMON -f $PARAM & PID="$!" wait $PID done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor