Changeset 1228 for TI12-security
- Timestamp:
- 21/06/06 15:17:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/share/ndgAttAuthority
r1227 r1228 1 1 #!/bin/bash 2 2 # 3 # /etc/rc.d/init.d/ndgAttAuthority4 #5 3 # SysV init script for NDG Security Attribute Authority 6 4 # … … 8 6 # 9 7 # 13/06/06 10 #11 # <tags -- see below for tag definitions. *Every line* from the top12 # of the file to the end of the tags section must begin with a #13 # character. After the tags section, there should be a blank line.14 # This keeps normal comments in the rest of the file from being15 # mistaken for tags, should they happen to fit the pattern.>16 8 # 17 9 # Copyright (C) 2006 CCLRC & NERC … … 19 11 # This software may be distributed under the terms of the Q Public License, 20 12 # version 1.0 or later. 13 # 14 # chkconfig: 2345 99 01 15 # description: NERC Data Grid Security Attribute Authority Web Service 16 # 21 17 22 18 # Edit these variables as required … … 76 72 if [ $RETVAL = 0 ]; then 77 73 # Get the process ID 78 pid=(`ps --no-headers -u ${user} -o pid,cmd --sort=-pid|grep "$ cmd"`)74 pid=(`ps --no-headers -u ${user} -o pid,cmd --sort=-pid|grep "$prog"`) 79 75 echo ${pid} > /var/run/${serviceName}.pid 80 76 touch /var/lock/subsys/${serviceName}
Note: See TracChangeset
for help on using the changeset viewer.