Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/larsbrinkhoff/systemd-files

Useful systemd snippets.
https://github.com/larsbrinkhoff/systemd-files

Last synced: 29 days ago
JSON representation

Useful systemd snippets.

Awesome Lists containing this project

README

        

### [email protected]

Copy to /etc/systemd/system.
Create a configuration file e.g. /etc/default/ssh-tunnel@foobar

```
REMOTE_HOST=foobar
REMOTE_PORT=22
REMOTE_USER=foo
LOCAL_PORT=20022
KEY_FILE=/home/bar/.ssh/id_rsa
```

Start the service: `systemctl start [email protected]`

### [email protected]

Create a configuration file e.g. /etc/default/websockify@12345

```
SOURCE_PORT=12345
TARGET_POST=54321
```