Add systemd service

This commit is contained in:
Owen 2025-02-10 21:43:47 -05:00
parent e537b89cae
commit 50276924c8
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -80,6 +80,24 @@ services:
- --endpoint https://example.com - --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 ### 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. 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.