Skip to content

Instantly share code, notes, and snippets.

@thejeshgn
Created October 13, 2026 13:10
Show Gist options
  • Select an option

  • Save thejeshgn/64aaf8e69cefc1f9ae6c8f342499eade to your computer and use it in GitHub Desktop.

Select an option

Save thejeshgn/64aaf8e69cefc1f9ae6c8f342499eade to your computer and use it in GitHub Desktop.
rnsd.service
[Unit]
Description=Reticulum Network Stack Daemon
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=YOUR_USER
Environment=HOME=/home/YOUR_USER
Environment=PYTHONUNBUFFERED=1
WorkingDirectory=/home/YOUR_USER
ExecStart=/home/YOUR_USER/.local/bin/rnsd --config /home/YOUR_USER/.reticulum
Restart=on-failure
RestartSec=5
UMask=0077
# No privilege escalation or Linux capabilities
NoNewPrivileges=true
CapabilityBoundingSet=
AmbientCapabilities=
# Read-only filesystem, except Reticulum's state directory
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=/home/YOUR_USER/.reticulum
# Isolated temporary files and protected system settings
PrivateTmp=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true
LockPersonality=true
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment