Skip to content

Commit 2f0717b

Browse files
committed
wip
1 parent e5a4b50 commit 2f0717b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/command/with-contenv sh
12
healthcheck-queue

common/etc/s6-overlay/s6-rc.d/queue/run

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/command/with-contenv sh
22

3-
echo "QUEUE_ENABLED $QUEUE_ENABLED"
4-
5-
if test "$QUEUE_ENABLED" -eq "true"; then
3+
if [ "$QUEUE_ENABLED" = "true" ]; then
4+
echo "Queue is enabled"
65
artisan queue:work \
76
--max-jobs $QUEUE_MAX_JOBS \
87
--sleep $QUEUE_SLEEP \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/command/with-contenv sh
12
healthcheck-schedule

common/etc/s6-overlay/s6-rc.d/schedule/run

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/command/with-contenv sh
22

3-
echo "SCHEDULE_ENABLED $SCHEDULE_ENABLED"
4-
5-
if test "$SCHEDULE_ENABLED" -eq "true"; then
3+
if [ "$SCHEDULE_ENABLED" = "true" ]; then
4+
echo "Schedule is enabled"
65
artisan schedule:work --whisper
76
else
87
echo "Schedule is disabled"

0 commit comments

Comments
 (0)