Move basic systemd service section under Binary heading

This commit is contained in:
bannert 2025-03-04 09:19:43 +01:00 committed by GitHub
parent dc1aa1c9f6
commit b2bb323c62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,24 @@ To install permanently to your PATH (may need to run as root):
mv ./newt /usr/local/bin
```
Finally a basic systemd service:
```
[Unit]
Description=Newt VPN Client
After=network.target
[Service]
ExecStart=/usr/local/bin/newt --id 31frd0uzbjvp721 --secret h51mmlknrvrwv8s4r1i210azhumt6isgbpyavxodibx1k2d6 --endpoint https://example.com
Restart=always
User=root
[Install]
WantedBy=multi-user.target
```
Make sure to `mv ./newt /usr/local/bin/newt`!
### Docker
You can find the built docker container [on Docker hub](https://hub.docker.com/r/fosrl/newt).
@ -80,24 +98,6 @@ services:
- --endpoint https://example.com
```
Finally a basic systemd service:
```
[Unit]
Description=Newt VPN Client
After=network.target
[Service]
ExecStart=/usr/local/bin/newt --id 31frd0uzbjvp721 --secret h51mmlknrvrwv8s4r1i210azhumt6isgbpyavxodibx1k2d6 --endpoint https://example.com
Restart=always
User=root
[Install]
WantedBy=multi-user.target
```
Make sure to `mv ./newt /usr/local/bin/newt`!
### Unraid
Newt is available in the Unraid Community Applications store. You can install it by searching for Newt in the store and following the prompts. Enter in the ID, secret, and endpoint from Pangolin in the template fields.