mirror of
https://github.com/Felitendo/moondeck-switchbot-wol.git
synced 2026-11-01 09:23:25 +01:00
Set up both ends again: run `moondeck-switchbot-wol host` on the PC for a new pairing code and paste it on the Deck.
15 lines
410 B
Desktop File
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
|