add write-test to script
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 17s
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 17s
This commit is contained in:
@@ -8,6 +8,8 @@ STATE_FILE="$CONFIG_DIR/watch_state.json"
|
|||||||
if [ ! -f "$STATE_FILE" ] || [ ! -s "$STATE_FILE" ]; then echo "{}" > "$STATE_FILE"; fi
|
if [ ! -f "$STATE_FILE" ] || [ ! -s "$STATE_FILE" ]; then echo "{}" > "$STATE_FILE"; fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
touch /config/test_file.txt && echo "Ich kann schreiben" > /config/test_file.txt
|
||||||
|
|
||||||
if [ -f "$CONFIG_FILE" ]; then
|
if [ -f "$CONFIG_FILE" ]; then
|
||||||
source "$CONFIG_FILE"
|
source "$CONFIG_FILE"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user