[Unit] Description=pkgsync: captura paquetes instalados y sube el estado a arch-setup al cerrar sesión/apagar After=network-online.target Wants=network-online.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/true ExecStop=%h/.local/bin/pkgsync.sh push TimeoutStopSec=30 [Install] WantedBy=default.target