mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
[GH-ISSUE #90] Running tunneld as a daemon #48
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/go-http-tunnel#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lbajsarowicz on GitHub (Mar 23, 2019).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/90
Currently running
tunneldneeds to get certification and key files provided.I'd like to run
tunneldas a service, so it would be awesome if there's a way to run the binary without passing extra attributes.@bmcgonag commented on GitHub (Mar 31, 2019):
@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 commented on GitHub (Apr 3, 2019):
@bmcgonag Line
Misses a single space after
###@bmcgonag commented on GitHub (Apr 3, 2019):
Updated, and pull request made. Thank you @lbajsarowicz