- Add Network IP Route tab,

- Improve status info,
- Fix comment in systemd service file.
This commit is contained in:
2025-07-06 01:58:10 +02:00
parent c9388dae6b
commit 0edc46fc42
4 changed files with 174 additions and 14 deletions

View File

@@ -3,19 +3,19 @@
Description=Rx3 Network Service
Documentation=man:systemd.service(5)
After=network-online.target
Wants=network-online.target # guarantees wait-online is pulled in
Before=docker.service # run *first*, because Docker needs the bridges
Wants=network-online.target
Before=docker.service
[Service]
Type=oneshot # the script runs and exits
Type=oneshot
ExecStart=/usr/local/sbin/rx3_net_adm start
ExecStartPost=/usr/local/sbin/rx3_net_adm status
ExecStop=/usr/local/sbin/rx3_net_adm stop
ExecStopPost=/usr/local/sbin/rx3_net_adm status
ExecReload=/usr/local/sbin/rx3_net_adm restart
RemainAfterExit=yes # keeps the unit in “active” state
TimeoutStartSec=30s # tweak to taste
TimeoutStopSec=15s # idem
RemainAfterExit=yes
TimeoutStartSec=30s
TimeoutStopSec=15s
[Install]
WantedBy=multi-user.target