File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
s6-overlay/s6-rc.d/schedule Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ script_name="laravel-about"
33
44if [ " $DISABLE_DEFAULT_CONFIG " = " false" ]; then
55 # Check to see if an Artisan file exists and assume it means Laravel is configured.
6- if [ -f " $APP_BASE_DIR /artisan " ] && [ " ${AUTORUN_LARAVEL_ABOUT:= true} " = " true" ]; then
7- php " $APP_BASE_DIR / artisan" about
6+ if [ " ${AUTORUN_LARAVEL_ABOUT:= true} " = " true" ]; then
7+ artisan about
88 fi
99else
1010 if [ " $LOG_OUTPUT_LEVEL " = " debug" ]; then
Original file line number Diff line number Diff line change 11#!/command/with-contenv sh
22
33if [ "$SCHEDULE_ENABLED" = "true" ]; then
4- # Changing to the base directory prevents
5- # the "Could not open input file: artisan" error
6- cd $APP_BASE_DIR
74 echo "✅ Schedule is enabled"
8- php artisan schedule:work --whisper
5+ artisan schedule:work --whisper
96else
107 echo "❌ Schedule is disabled"
118 s6-svc -Od .
You can’t perform that action at this time.
0 commit comments