- Add Network IP Route tab,
- Improve status info, - Fix comment in systemd service file.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user