-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autostart fails if service has already started #47
Comments
I would have thought that autostart for services which are declared as |
Yep, I've also observed this a bunch of times. Would be nice to handle this case a bit more elegantly, a no-op seems most sensible (and perhaps a log message to indicate that is the case) |
+1, this will trigger an error every time when you do charm upgrade, since service is already running. |
#58 resolves this |
This happens when pebble_ready is deferred, but another event (re)starts the service. When pebble_ready re-enters, I get this error:
This is expected when trying to start the same service twice, but with autostart I expected this to work. Is this a bug or by design?
The text was updated successfully, but these errors were encountered: