Ignore:
Timestamp:
19/02/07 14:44:24 (13 years ago)
Author:
pjkersha
Message:

python/share/ndg-sm, python/share/ndg-aa, python/share/ndg-log, python/share/ndg-gk and
python/share/ndg-ca: added group id option for user account to run under twistd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/share/ndg-aa

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
    2525 
    2626# Set path to Twisted 'tac' file 
     
    4949# process listing 
    5050prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     51args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     52--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5353cmd="${prog} ${args}" 
    5454 
Note: See TracChangeset for help on using the changeset viewer.