Commit
fff60050cd7c6bf282013e43ae642f284c915246
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
Add script to run components in development mode
|
| @@ -0,0 +1,15 @@ |
| @@ -0,0 +1,15 @@ |
|
| |
1
| +#!/bin/sh |
|
| |
2
| + |
|
| |
3
| +stop() { |
|
| |
4
| + ./script/delayed_job stop |
|
| |
5
| + ./script/feed-updater stop |
|
| |
6
| +} |
|
| |
7
| + |
|
| |
8
| +start() { |
|
| |
9
| + ./script/feed-updater start |
|
| |
10
| + ./script/delayed_job start |
|
| |
11
| + trap stop INT TERM |
|
| |
12
| + ./script/server $@ |
|
| |
13
| +} |
|
| |
14
| + |
|
| |
15
| +start $@ |