Files
NexusGate/systemd/nexusgate-agent.service
T

20 lines
424 B
Desktop File

[Unit]
Description=NexusGate node agent
After=network-online.target nexusgate-sing-box.service
Wants=network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/nexusgate/agent.env
ExecStart=/opt/nexusgate-agent/nexusgate-agent
Restart=always
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/etc/nexusgate /var/log/nexusgate
[Install]
WantedBy=multi-user.target