How to set up/manage services on a computer

243 B

disable ability of computer to sleep/hibernate

run:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

to undo:

systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target