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

Running tunneld as a daemon #90

Open
lbajsarowicz opened this issue Mar 23, 2019 · 3 comments
Open

Running tunneld as a daemon #90

lbajsarowicz opened this issue Mar 23, 2019 · 3 comments

Comments

@lbajsarowicz
Copy link

Currently running tunneld needs to get certification and key files provided.
I'd like to run tunneld as a service, so it would be awesome if there's a way to run the binary without passing extra attributes.

@bmcgonag
Copy link
Contributor

@lbajsarowicz i just added some documentation to the Readme file on the main github page about running the tunneld server as a service using systemd.

It's pretty easy to setup (at least on ubuntu and debian, haven't tried other distros), and just passing the full path to the service of your certificate locations works fine.

I also did the same for a couple of my clients that I run headless so they'll just startup and connect again on reboot. Again, I just pass the -config flag and the full path to the config.yml, and make sure the cert files for the client are in the .tunnel directory with the .yml file...and have that placed in the same directory as the tunnel binary.

Hope it helps,

@lbajsarowicz
Copy link
Author

@bmcgonag Line

###Run Server as a Service on Ubuntu using Systemd:

Misses a single space after ###

@bmcgonag
Copy link
Contributor

bmcgonag commented Apr 3, 2019

Updated, and pull request made. Thank you @lbajsarowicz

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

2 participants