User Tools

Site Tools


packet:xrouter-service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packet:xrouter-service [2025/01/21 23:32] – Corrected spelling and grammar ei9iubpacket:xrouter-service [2025/01/26 18:01] (current) m0lte
Line 1: Line 1:
 +====== XRouter running as a systemd service ======
 +
 +
 As XRouter is distributed as a loose binary, a little work is needed to get it set up as a service. As XRouter is distributed as a loose binary, a little work is needed to get it set up as a service.
  
Line 55: Line 58:
 More information on ACCESS.SYS config can be found on the [[https://ohiopacket.org/xrpi/docs/access.sys.htm|Ohio Packet documentation pages]]. More information on ACCESS.SYS config can be found on the [[https://ohiopacket.org/xrpi/docs/access.sys.htm|Ohio Packet documentation pages]].
  
 +Working example:
 +
 +<code>
 +# cat /etc/systemd/system/xrouter.service
 +[Unit]
 +StartLimitIntervalSec=5
 +Description=XRpi service
 +After=network.target
 +StartLimitIntervalSec=0
 +
 +[Service]
 +Type=forking
 +Restart=always
 +RestartSec=5
 +User=xr
 +WorkingDirectory=/home/xr
 +ExecStart=/home/xr/xrlin64 -d
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
packet/xrouter-service.1737502359.txt.gz · Last modified: 2025/01/21 23:32 by ei9iub