Hi team,
I have a snap which runs a simple daemon and uses the on_failure restart condition (ref here). When I start it on a Juju VM, I get a 0 out code and the console just says “started”. But the service remains inactive and if I look at sudo snap logs opentelemetry-collector, I can see that the exit code was 1 and that there was a failure. Why do I get a simple “started” while the logs show the start was unsuccessful? I can provide more logs/context/etc if it helps.
Thanks