[Unit] Description = "Generate Secrets" Wants=${secrets_path_escaped}.mount After=${secrets_path_escaped}.mount ConditionPathExists=!${secrets_path}/mariadb-root-password.env ConditionPathExists=!${secrets_path}/mariadb-password.env ConditionPathExists=!${secrets_path}/castopod-mariadb-password.env ConditionPathExists=!${secrets_path}/castopod-analytics.env ConditionPathExists=!${secrets_path}/castopod-valkey.env ConditionPathExists=!${secrets_path}/valkey-entrypoint.sh [Service] Type=oneshot RemainAfterExit=true ExecStart=/bin/bash /var/opt/generate_secrets.sh [Install] WantedBy=default.target