/[pdpsoft]/trunk/grid-mw-security/ees/setup/ees.init.d
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/setup/ees.init.d

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1845 by aramv, Thu Jul 8 15:43:19 2010 UTC revision 1846 by aramv, Thu Jul 8 15:50:05 2010 UTC
# Line 15  lockfile="/var/lock/subsys/ees" Line 15  lockfile="/var/lock/subsys/ees"
15  nonprivaccount="ees"  nonprivaccount="ees"
16    
17  # Source function library  # Source function library
18  if [ -f /etc/rc.d/init.d/functions ]; then  if [ -f /etc/redhat-release ]; then
19    # Redhat-style    # Redhat-style
20    . /etc/rc.d/init.d/functions    . /etc/rc.d/init.d/functions
21    
22    start_ees_daemon="daemon --user $nonprivaccount $fullprog --conf $configfile"    start_ees_daemon="daemon --user $nonprivaccount $fullprog --conf $configfile"
23  elif [ -f /lib/lsb/init-functions ]; then  elif [ -f /etc/debian_version ]; then
24    # Debian-style    # Debian-style
25    . /lib/lsb/init-functions    . /lib/lsb/init-functions
26    echo_success(){    echo_success(){
# Line 30  elif [ -f /lib/lsb/init-functions ]; the Line 30  elif [ -f /lib/lsb/init-functions ]; the
30      echo failure      echo failure
31    }    }
32    start_ees_daemon="start-stop-daemon --start --chuid $nonprivaccount --exec $fullprog $configfile"    start_ees_daemon="start-stop-daemon --start --chuid $nonprivaccount --exec $fullprog $configfile"
33  elif [ -f /etc/rc.status ]; then  elif [ -f /etc/SuSE-release ]; then
34    # SUSE-style    # SUSE-style
35    . /etc/rc.status    . /etc/rc.status
36    echo_success(){    echo_success(){

Legend:
Removed from v.1845  
changed lines
  Added in v.1846

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28