diff --git a/install.sh b/install.sh index 9df8ad9..d22d857 100755 --- a/install.sh +++ b/install.sh @@ -175,6 +175,11 @@ if [ ! -d "$WAVELOG_DIR" ]; then WAVELOG_DB_PASS=$(openssl rand -base64 32 | tr -d '=/+' | cut -c1-24) sed -i "s|MARIADB_PASSWORD: wavelog # <- Insert a strong password here|MARIADB_PASSWORD: ${WAVELOG_DB_PASS}|" "$WAVELOG_DIR/docker-compose.yaml" + if ! systemctl is-active --quiet docker; then + echo "Starting Docker..." + sudo systemctl enable --now docker + fi + docker compose -f "$WAVELOG_DIR/docker-compose.yaml" up -d echo "Wavelog installed. Access it at http://localhost:8086" else