Commit bcb2e05e4d9f729a35721b9a0b2d450ef7cc71a2

Authored by Rodrigo Souto
1 parent 44220b5f

Using thin server as string to detect noosfero server is running

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
etc/init.d/noosfero
@@ -113,7 +113,7 @@ do_restart() { @@ -113,7 +113,7 @@ do_restart() {
113 } 113 }
114 114
115 running(){ 115 running(){
116 - pgrep -u noosfero -f server > /dev/null 116 + pgrep -u noosfero -f 'thin server' > /dev/null
117 } 117 }
118 118
119 case "$1" in 119 case "$1" in