Changes between Version 28 and Version 29 of TracNginxRecipe
- Timestamp:
- Jul 23, 2018, 12:16:17 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracNginxRecipe
v28 v29 451 451 ---- 452 452 See also TracFastCgi#NginxConfiguration 453 454 {{{#!sh455 if [ $? -eq 0 ]456 then457 echo "trac already running! (check ${trac_pidfile})"458 return 1459 fi460 /bin/rm -f "${trac_pidfile}"461 else462 trpid=$(/usr/bin/pgrep "/usr/local/bin/tracd")463 if [ -n "${trpid}" ]464 then465 echo "trac(${trpid}) already running, but can't find PID file!!!"466 return 1467 fi468 fi469 470 471 i=0472 while :473 do474 i=$(( $i + 1 ))475 [ -z "$(eval echo "\${DIR_PROJECT_${i}}")" ]476 }}}