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

enable-startup #36

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ apps:
command: drop_priv.sh mongotop
mongodb-exporter:
daemon: simple
install-mode: disable
# wrapper is used to run mongodb-exporter as snap_daemon user
# and pass the URI via `snapctl`.
command: start-mongodb-exporter.sh
Expand All @@ -123,6 +124,7 @@ apps:
- network-bind
pbm-agent:
daemon: simple
install-mode: disable
# pbm-agent requires a variable for the mongodb uri,
# enviornment variables are not available to snap daemons,
# so they must be passed/loaded via `snapctl`. Handling of
Expand Down