HogGirl@sh.itjust.works to Linux@programming.devEnglish · 2 days agoWhy pacman does not prevent system sleep?message-squaremessage-square24linkfedilinkarrow-up133arrow-down14file-text
arrow-up129arrow-down1message-squareWhy pacman does not prevent system sleep?HogGirl@sh.itjust.works to Linux@programming.devEnglish · 2 days agomessage-square24linkfedilinkfile-text
minus-squaremoonpiedumplings@programming.devlinkfedilinkEnglisharrow-up3·edit-223 hours agoThe correct solution is to use systemd-inhibit to block sleep/shutdown (on systemd distros at least). sudo systemd-inhibit --what=shutdown:sleep --mode=block pacman -Syu EDIT: Oop someone already mentioned systemd-inhibit in another commend. And their answer is even shorter than mine and apparently still works.
The correct solution is to use systemd-inhibit to block sleep/shutdown (on systemd distros at least).
sudo systemd-inhibit --what=shutdown:sleep --mode=block pacman -SyuEDIT: Oop someone already mentioned systemd-inhibit in another commend. And their answer is even shorter than mine and apparently still works.
Ah TIL, thanks