AkurAI Build
Menu

Public repository / 63fbfbe051818adda65e6e30ee3cf92b68573ba4

AkurAI-VPN / systemd/akurai-control.service

Latest change 2f952519db76ba7dd8b099a09ebda909d137ea5e - feat: scaffold pure-Rust zero-dep AkurAI VPN workspace (v0.0.1) by Ólafur Búi Ólafsson

[Unit]
Description=AkurAI VPN control plane (vpn.olibuijr.com)
Documentation=https://github.com/olibuijr/AkurAI-VPN
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/bin/akurai-control serve
Restart=on-failure
RestartSec=2

# State and config (see docs/deployment-vpn.olibuijr.com.md)
StateDirectory=akurai-vpn
ConfigurationDirectory=akurai-vpn
Environment=AKURAI_VPN_STATE=/var/lib/akurai-vpn
Environment=AKURAI_VPN_CONFIG=/etc/akurai-vpn

# Hardening (the control plane needs no special privileges)
DynamicUser=yes
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes

[Install]
WantedBy=multi-user.target