Changeset 29905 in project


Ignore:
Timestamp:
10/11/13 15:54:27 (8 years ago)
Author:
sjamaan
Message:

Fix grep and add link to Spiffy manual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/spiffy-init-script

    r29903 r29905  
    1 Here's an example init.d script for Spiffy, for use on Debian derivatives (created by [[/users/mario-domenech-goulart|Mario Domenech Goulart]])
     1Here's an example init.d script for [[/egg/spiffy|Spiffy the webserver]], for use on Debian derivatives (created by [[/users/mario-domenech-goulart|Mario Domenech Goulart]])
    22
    33<enscript highlight="shell">
     
    2424    echo "Stopping spiffy..."
    2525    echo "stop: " `date "$DATE_FORMAT"` >> /var/log/spiffy/start-stop.log
    26     pids=`ps ax | grep "[/]usr/local/sbin/spiffy" | awk '{print $1}'`
     26    pids=`ps ax | grep "[/]usr/local/libexec/spiffy.scm" | awk '{print $1}'`
    2727    if [ -z "$pids" ] ; then
    2828       echo "spiffy is not running"
Note: See TracChangeset for help on using the changeset viewer.