swap-watchdog/systemd/swap-watchdog.service
Philip Peterson 089f1fb9ff Install kdotool to ~/.local/bin and wire it into swap-watchdog's PATH
kdotool is built by the Dagger pipeline but has no system install step of
its own; swap-watchdog execs it by bare name, so without this the service
couldn't find it. Also hardens install.sh's dagger-CLI check and brings
uninstall.sh/README.md in line with the final install flow.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-06 09:41:52 -08:00

15 lines
408 B
Desktop File

[Unit]
Description=Swap/memory-pressure watchdog that reveals Force Quit Monitor when critical
After=graphical-session.target force-quit-gui.service
PartOf=graphical-session.target
[Service]
Type=simple
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
ExecStart=%h/Code/swap-watchdog/bin/swap-watchdog
Restart=always
RestartSec=5
OOMScoreAdjust=-1000
[Install]
WantedBy=graphical-session.target