10 lines
331 B
Bash
Executable File
10 lines
331 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# signal_complete takes a container name and creates a file in the "completed"
|
|
# directory, denoting that the named container has finished its tasks. This can be
|
|
# leveraged by dependent containers via the `wait_for` command.
|
|
|
|
mkdir -p "/tmp/completed"
|
|
touch "/tmp/completed/$1"
|
|
printf "Marked %s as complete.\n" "$1"
|