Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
app=$1
if [ "$#" -ne 1 ]; then
echo "./docker_network.sh [app_id]"
else
case "$1" in
help)
echo "./docker_network.sh [app_id]"
@gcommit
gcommit / puppet_run.sh
Last active February 14, 2023 08:49
Start puppet as soon as the current run is over
#!/bin/bash
FILE=/var/lib/puppet/state/agent_catalog_run.lock
while [ -f $FILE ];
do
echo "File $FILE exists."
sleep 1
done