[Unit] Description=OSTP VPN Server After=network.target Documentation=https://github.com/ospab/ospab.network [Service] Type=simple User=root WorkingDirectory=/etc/ostp ExecStart=/usr/local/bin/ostp-server -c /etc/ostp/server.json Restart=on-failure RestartSec=5s StandardOutput=append:/var/log/ostp/ostp-server.log StandardError=append:/var/log/ostp/ostp-server.log # Security hardening NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/var/log/ostp # Resource limits LimitNOFILE=65536 LimitNPROC=512 [Install] WantedBy=multi-user.target