AkurAI Build
Menu

Public repository / e6e76f956a387baadcdd25055110c5860932743f

AkurAI-VPN / systemd/akurai-relay.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 relay (ciphertext-only fallback)
Documentation=https://github.com/olibuijr/AkurAI-VPN
After=network-online.target
Wants=network-online.target

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

StateDirectory=akurai-vpn
ConfigurationDirectory=akurai-vpn
Environment=AKURAI_VPN_STATE=/var/lib/akurai-vpn
Environment=AKURAI_VPN_CONFIG=/etc/akurai-vpn

# The relay only forwards ciphertext; it needs no elevated privileges.
DynamicUser=yes
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes

[Install]
WantedBy=multi-user.target