-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7759d4
commit 3717d25
Showing
4 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/sh | ||
|
||
source /init.sh | ||
|
||
if [ -z "$AMQ_BROKERS" ]; then | ||
exit 0 | ||
fi | ||
|
||
if ! is_drupal_module_enabled "helfi_navigation"; then | ||
exit 0 | ||
fi | ||
|
||
while true | ||
do | ||
# Restart process every 12 hours. | ||
drush stomp:worker helfi_navigation_menu_queue --lease-time 43200 | ||
done | ||
#source /init.sh | ||
# | ||
#if [ -z "$AMQ_BROKERS" ]; then | ||
# exit 0 | ||
#fi | ||
# | ||
#if ! is_drupal_module_enabled "helfi_navigation"; then | ||
# exit 0 | ||
#fi | ||
# | ||
#while true | ||
#do | ||
# # Restart process every 12 hours. | ||
# drush stomp:worker helfi_navigation_menu_queue --lease-time 43200 | ||
#done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/bin/sh | ||
|
||
if [ -z "$AMQ_BROKERS" ]; then | ||
exit 0 | ||
fi | ||
|
||
while true | ||
do | ||
# Restart process every 12 hours. | ||
drush stomp:worker helfi_api_base_revision --lease-time 43200 | ||
done | ||
#if [ -z "$AMQ_BROKERS" ]; then | ||
# exit 0 | ||
#fi | ||
# | ||
#while true | ||
#do | ||
# # Restart process every 12 hours. | ||
# drush stomp:worker helfi_api_base_revision --lease-time 43200 | ||
#done |