Skip to content
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

disable all startup services #37

Merged
merged 1 commit into from
Sep 19, 2023
Merged

disable all startup services #37

merged 1 commit into from
Sep 19, 2023

Conversation

MiaAltieri
Copy link
Contributor

It doesn't make sense for any of the daemons in charmed-mongodb snap to start up automatically in the snap. They require specific configurations and an up and a running mongos instance. We can keep them enabled, but they will show an error state:

ubuntu@ip-172-31-37-213:~$ sudo snap logs charmed-mongodb.pbm-agent
2023-09-16T14:25:39Z systemd[1]: Started Service for snap application charmed-mongodb.pbm-agent.
2023-09-16T14:25:39Z charmed-mongodb.pbm-agent[4119638]: 2023/09/16 14:25:39 Error: Parse command line parameters: required flag --mongodb-uri not provided
2023-09-16T14:25:39Z systemd[1]: snap.charmed-mongodb.pbm-agent.service: Deactivated successfully.

It doesn't make sense for  any of the daemons in charmed-mongodb snap to start up automatically in the snap. They require specific configurations and an up and a running mongos instance. We can keep them enabled, but they will show an error state:
```
ubuntu@ip-172-31-37-213:~$ sudo snap logs charmed-mongodb.pbm-agent
2023-09-16T14:25:39Z systemd[1]: Started Service for snap application charmed-mongodb.pbm-agent.
2023-09-16T14:25:39Z charmed-mongodb.pbm-agent[4119638]: 2023/09/16 14:25:39 Error: Parse command line parameters: required flag --mongodb-uri not provided
2023-09-16T14:25:39Z systemd[1]: snap.charmed-mongodb.pbm-agent.service: Deactivated successfully.
```
@MiaAltieri MiaAltieri added this pull request to the merge queue Sep 19, 2023
Merged via the queue into 5/edge with commit fc95121 Sep 19, 2023
3 checks passed
@MiaAltieri MiaAltieri deleted the MiaAltieri-patch-1 branch September 19, 2023 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants