Update 'init/entrypoint.sh'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b037bd7456
commit
ffdb742111
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -eox pipefail
|
set -eox pipefail
|
||||||
|
|
||||||
if [ ! "$RUN_ONCE" -eq "true" ]; then
|
if [ "$RUN_ONCE" = "true" ]; then
|
||||||
rsync -avz $SOURCE_DIR $TARGET_DIR
|
rsync -avz $SOURCE_DIR $TARGET_DIR
|
||||||
else
|
else
|
||||||
while inotifywait -r -e modify,create,delete,move $SOURCE_DIR; do
|
while inotifywait -r -e modify,create,delete,move $SOURCE_DIR; do
|
||||||
|
Loading…
Reference in New Issue
Block a user