14 lines
370 B
Desktop File
14 lines
370 B
Desktop File
[Unit]
|
|||
|
|
Description=Re-apply prx proxy routing
|
||
|
|
Documentation=man:prx(1)
|
||
|
|
After=network-online.target
|
||
|
|
Wants=network-online.target
|
||
|
|
# Only run when prx was enabled (state snapshot exists).
|
||
|
|
ConditionPathExists=/run/prx/state.json
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=oneshot
|
||
|
|
# `prx on` is idempotent: it re-detects the gateway and refreshes the rules.
|
||
|
|
ExecStart=/usr/bin/prx on
|
||
|
|
RemainAfterExit=no
|