Commit
bcb2e05e4d9f729a35721b9a0b2d450ef7cc71a2
Exists in
master
and in
22 other branches
angular_poc, api-article-archived, article-readonly, backup-7-jan-2016, captcha_serpro_plugin, content-manager-hostspot, export-comment-paragraph, fix_event_date_issue, login-captcha, master_rails3, new_video_plugin, pg_search_rank, production, refactor_with_role, refactor_with_role_scope, remove_profile_cat_icons, resend_confirmation_email, staging, staging_rails3, tasks_keep_filter_params, theme-brasil-digital-from-staging, travis
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 |