4 while test x
$1 != x
; do
12 if test x
$assembly = x
; then
13 echo You must specify
at least the assembly name
15 echo "Usage is: $0 [options] service"
17 echo ' -d:<directory> Working directory'
18 echo ' -l:<lock file> Lock file (default is /tmp/<service>.lock)'
19 echo ' -m:<syslog name> Name to show in syslog'
20 echo ' -n:<service name> Name of service to start (default is first defined)'
22 echo Controlling the service
:
24 echo ' kill -USR1 `cat <lock file>` Pausing service'
25 echo ' kill -USR2 `cat <lock file>` Continuing service'
26 echo ' kill `cat <lock file>` Ending service'
31 export MONO_DISABLE_SHM
=1
32 exec @bindir@
/@mono_interp@
$MONO_OPTIONS @mono_instdir@
/@framework_version@
/@exe_name@.exe
$args </dev
/null
>& /dev
/null
&