1 #!/bin/sh 2 3 #-------------------------------------------------------------------------# 4 # Script to demonstrate starting a dummy service, for FreeHA # 5 # Provided as a tool to be called from 'starthasrv' # 6 # # 7 # Standard UNIX status: returns 0 on okay, non-0 on fail. # 8 #-------------------------------------------------------------------------# 9 10 11 # If already running, dont bother to start again 12 cat.monitor && exit 0 13 14 nice cat /dev/zero </dev/null >/dev/null 2>&1 & 15 16 exit 0