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

Run ngrok as a service with Snap #25

Open
krwenholz opened this issue Sep 25, 2023 · 0 comments
Open

Run ngrok as a service with Snap #25

krwenholz opened this issue Sep 25, 2023 · 0 comments

Comments

@krwenholz
Copy link
Contributor

krwenholz commented Sep 25, 2023

This was originally a Snapcraft forum DM.

From the individual who opened the thread, it may be a simple change. We just need to test it out.

This

apps: 
  ngrok:
    command: ngrok
    plugs: [network, network-bind, home, ngrok-config]

becomes this

apps:
  main:
    command: ngrok
    daemon: simple
      restart-condition: on-failure
    plugs: [network, network-bind, home, ngrok-config]

Snapcraft docs for daemons

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

No branches or pull requests

1 participant