https://github.com/ngrok/ngrok-systemd
https://github.com/ngrok/ngrok-systemd
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngrok/ngrok-systemd
- Owner: ngrok
- License: mit
- Created: 2022-11-04T21:48:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T21:49:32.000Z (over 2 years ago)
- Last Synced: 2025-03-07T05:31:11.658Z (3 months ago)
- Size: 1000 Bytes
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## SystemD Units
These systemd units are for use with the ngrok agent. There are two, one for running all tunnels in a configuration file and a second for running specific tunnels within a configuration file.
The ngrok agent ships with a basic systemd unit that is likely to work on a wide variety of systems and configurations. These units use additional configuration options for a higher level of security. __Caveat__: a future version of the ngrok agent may use syscalls or other system APIs blocked by these units and they will need to be updated accordingly.
### Installation
#### All tunnels unit
```
sudo cp /ngrok.service /etc/systemd/system/ngrok.service
sudo systemctl daemon-reload
sudo systemctl enable ngrok
sudo systemctl start ngrok
```#### Per-tunnel unit
```
sudo cp /[email protected] /etc/systemd/system/[email protected]
sudo systemctl daemon-reload
sudo systemctl enable ngrok@
sudo systemctl start ngrok@
# repeat for each tunnel you want to run
```