go-http-tunnel
go-http-tunnel copied to clipboard
Running tunneld as a daemon
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.
@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,
@bmcgonag Line
###Run Server as a Service on Ubuntu using Systemd:
Misses a single space after ###
Updated, and pull request made. Thank you @lbajsarowicz