An open API service indexing awesome lists of open source software.

https://github.com/ngrok/ngrok-systemd


https://github.com/ngrok/ngrok-systemd

Last synced: 3 months ago
JSON representation

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
```