Files
moondeck-switchbot-wol/res/systemd/moondeck-switchbot-wol-disarm.service
Felitendo daed133f0e refactor!: rewrite as one command with a menu on both ends
Set up both ends again: run `moondeck-switchbot-wol host` on the PC for a
new pairing code and paste it on the Deck.
2026-10-09 13:11:20 +02:00

15 lines
410 B
Desktop File

[Unit]
Description=Take back a MoonDeck SwitchBot login left over from a crash
Documentation=man:moondeck-switchbot-wol(1)
# Before the display manager reads its config, so the leftover never logs
# anybody in.
Before=display-manager.service
ConditionPathExists=/var/lib/moondeck-switchbot-wol/armed.json
[Service]
Type=oneshot
ExecStart=@LIBEXECDIR@/login-agent --disarm
[Install]
WantedBy=graphical.target