Edgewall Software

Changes between Version 28 and Version 29 of TracNginxRecipe


Ignore:
Timestamp:
Jul 23, 2018, 12:16:17 PM (8 months ago)
Author:
Jun Omae
Comment:

Removed garbled script from footer (added in .@18)

Legend:

Unmodified
Added
Removed
Modified
  • TracNginxRecipe

    v28 v29  
    451451----
    452452See also TracFastCgi#NginxConfiguration
    453 
    454 {{{#!sh
    455           if [ $? -eq 0 ]
    456            then
    457             echo "trac already running! (check ${trac_pidfile})"
    458             return 1
    459           fi
    460           /bin/rm -f "${trac_pidfile}"
    461          else
    462           trpid=$(/usr/bin/pgrep "/usr/local/bin/tracd")
    463           if [ -n "${trpid}" ]
    464            then
    465             echo "trac(${trpid}) already running, but can't find PID file!!!"
    466             return 1
    467           fi
    468         fi
    469 
    470 
    471         i=0
    472         while :
    473          do
    474           i=$(( $i + 1 ))
    475           [ -z "$(eval echo "\${DIR_PROJECT_${i}}")" ]
    476 }}}