Skip to content
Snippets Groups Projects
Commit 552fe0eb authored by Elian Loraux's avatar Elian Loraux
Browse files

test fix path

parent b7acb4fb
No related branches found
No related tags found
1 merge request!17Reorganisation
#!/bin/bash #!/bin/bash
echo "============= $(basename "$0") =================" echo "=== RUN $(basename "$0") ==="
if [ ! -e $(pwd)/$(dirname "$0")/../main.env ] if [ ! -e $(dirname "$0")/../main.env ]
then then
echo "Please copy in racine of NoCloud Auto Installer main.env.sample to main.env and edit it" echo "Please copy in racine of NoCloud Auto Installer main.env.sample to main.env and edit it"
exit 1 exit 1
fi fi
. $(pwd)/$(dirname "$0")/../main.env . $(dirname "$0")/../main.env
# Install monit if not installed and general config # Install monit if not installed and general config
if [ -z "$(dpkg -l | grep ' monit ')" ]; then if [ -z "$(dpkg -l | grep ' monit ')" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment