mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2024-05-09 01:36:33 +02:00
17 lines
419 B
Plaintext
17 lines
419 B
Plaintext
|
#!/usr/bin/with-contenv bash
|
||
|
|
||
|
source /assets/functions/00-container
|
||
|
prepare_service defaults single
|
||
|
PROCESS_NAME="config-reloader"
|
||
|
|
||
|
check_container_initialized
|
||
|
check_service_initialized init 10-loolwsd
|
||
|
liftoff
|
||
|
|
||
|
while inotifywait -q -e create,delete,modify,attrib /etc/loolwsd/loolwsd.xml
|
||
|
do
|
||
|
print_info "Reloading loolwsd configuration do to a detected certificate change"
|
||
|
pkill -f --signal 1 loolwsd
|
||
|
exit 0
|
||
|
done
|