hvpn-node3/init/systemd/hvpn.service
HeshamTB 1a611616bd
init:
- Working basic wg controls
    - Working ip_pool allocation
    - Working basic HTTP API

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2024-03-11 17:34:06 +03:00

22 lines
377 B
Desktop File

[Unit]
Description=HVPN node service
[Service]
Type=exec
User=hvpnnode
Group=hvpn
ExecStart=/opt/hvpn-node/hvpn-node
AmbientCapabilities=CAP_NET_ADMIN
RemainAfterExit=true
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
PrivateDevices=true
ProtectKernelTunables=true
#Nice=19
#IOSchedulingClass=idle
#IOSchedulingPriority=7
#PrivateDevices=true
#PrivateNetwork=true