Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 25 days agoSchedule ALL the things for the nightswg-empire.deexternal-linkmessage-square23fedilinkarrow-up1222arrow-down15file-text
arrow-up1217arrow-down1external-linkSchedule ALL the things for the nightswg-empire.deBjörn Tantau@swg-empire.de to linuxmemes@lemmy.world · 25 days agomessage-square23fedilinkfile-text
cross-posted from: https://swg-empire.de/post/3428368 Though you still have to suspend by yourself when you’re done.
minus-squarenesc@lemmy.cafelinkfedilinkEnglisharrow-up8·25 days agoCan’t you just suspend with another timer that calls Unit=suspend.target?
minus-squareBjörn Tantau@swg-empire.deOPlinkfedilinkarrow-up4·25 days agoYes, do that a minute after everything else started but run the services themselves with systemd-inhibit (another nice thing I didn’t know exists) so that it only goes back to sleep when the last service is done.
Can’t you just suspend with another timer that calls
Unit=suspend.target
?Yes, do that a minute after everything else started but run the services themselves with
systemd-inhibit
(another nice thing I didn’t know exists) so that it only goes back to sleep when the last service is done.