OverviewFilesCommitsIssuesDocsReleasesPeers

server-info-kb / 7rnx.net / hyperident-gateway.service

33 lines · service ref:
[Unit]
Description=Hyperident Gateway - P2P VPN
Documentation=/home/fleeky/hyperident-gateway/README.md
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=fleeky
Group=fleeky
WorkingDirectory=/home/fleeky/hyperident-gateway
ExecStart=/home/fleeky/.nvm/versions/node/v23.2.0/lib/node_modules/bare-runtime/node_modules/bare-runtime-linux-x64/bin/bare gateway.js --config /home/fleeky/hyperident-config/gateway-config.json

# Capabilities - allow creating/configuring network devices
AmbientCapabilities=CAP_NET_ADMIN
CapabilityBoundingSet=CAP_NET_ADMIN

# Restart policy
Restart=always
RestartSec=10

# Security settings
NoNewPrivileges=true
PrivateTmp=true

# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=hyperident-gateway

[Install]
WantedBy=multi-user.target