Commit
bcb2e05e4d9f729a35721b9a0b2d450ef7cc71a2
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
Using thin server as string to detect noosfero server is running
|
| @@ -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 |