1
0
Fork 0
mirror of synced 2024-11-18 08:05:36 -05:00
garuda-common-settings/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service

10 lines
288 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Optimizing pacman hooks
[Service]
Type=oneshot
ExecStart=bash -c "if /usr/lib/garuda/is-snapshot-boot; then rm -f /etc/pacman.d/hooks/01-snapshot-reject.hook; else ln -fs /dev/null /etc/pacman.d/hooks/01-snapshot-reject.hook; fi"
[Install]
WantedBy=multi-user.target