#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: portainer_agent
# Runs some initializations for portainer_agent
# ==============================================================================
bashio::require.unprotected

# Launch app
cd /app || true
./agent "$PORTAINER_AGENT_ARGS"
