Prefer a configured phone hotspot for outbound synchronization, preserve secure write-only credentials, and recover through home WiFi or the local Pi hotspot. Co-authored-by: Copilot <[email protected]>
13 lines
353 B
Desktop File
13 lines
353 B
Desktop File
[Unit]
|
|
Description=Wait for the configured phone hotspot
|
|
After=NetworkManager.service
|
|
Wants=NetworkManager.service
|
|
Conflicts=yaris-netwatch.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
TimeoutStartSec=180
|
|
ExecStartPre=-/usr/bin/systemctl stop yaris-netwatch.timer
|
|
ExecStart=/usr/local/bin/yaris-uplink wait
|
|
ExecStopPost=/usr/bin/systemctl start yaris-netwatch.timer
|