Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/etc/entrypoint.d/99-laravel-about.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ script_name="laravel-about"

if [ "$DISABLE_DEFAULT_CONFIG" = "false" ]; then
# Check to see if an Artisan file exists and assume it means Laravel is configured.
if [ -f "$APP_BASE_DIR/artisan" ] && [ "${AUTORUN_LARAVEL_ABOUT:=true}" = "true" ]; then
php "$APP_BASE_DIR/artisan" about
if [ "${AUTORUN_LARAVEL_ABOUT:=true}" = "true" ]; then
artisan about
fi
else
if [ "$LOG_OUTPUT_LEVEL" = "debug" ]; then
Expand Down
5 changes: 1 addition & 4 deletions common/etc/s6-overlay/s6-rc.d/schedule/run
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/command/with-contenv sh

if [ "$SCHEDULE_ENABLED" = "true" ]; then
# Changing to the base directory prevents
# the "Could not open input file: artisan" error
cd $APP_BASE_DIR
echo "✅ Schedule is enabled"
php artisan schedule:work --whisper
artisan schedule:work --whisper
else
echo "❌ Schedule is disabled"
s6-svc -Od .
Expand Down
Loading