Last active
September 5, 2021 15:22
-
-
Save suru-dissanaike/ccedbc0218e8220ad6626a661b500462 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function exec_cmd() | |
{ | |
echo "executing $@" | |
$@ >/dev/null 2>&1 | |
if [ $? -ne 0 ]; then | |
echo "Failed to execute $@" | |
exit 1 | |
fi | |
} | |
apt update | |
apt install sl -qq -y | |
apt install fortune -qq -y | |
apt install cowsay -qq -y | |
apt install supervisor -qq -y | |
cp ./scripts/supervisord.conf /etc/supervisor/conf.d/ | |
echo "preparation script" | |
pwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment