8000 Added Trap to pervent container crashing · namxam/docker-bookstack@30c6fae · GitHub
[go: up one dir, main page]

Skip to content

Commit 30c6fae

Browse files
Mohammad Naeemsolidnerd
authored andcommitted
Added Trap to pervent container crashing
1 parent da06669 commit 30c6fae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,5 @@ echo "Clearing caches..."
112112
php artisan cache:clear
113113
php artisan view:clear
114114

115+
trap "echo Catching SIGWINCH apache error and perventing it." SIGWINCH
115116
exec apache2-foreground

0 commit comments

Comments
 (0)
0