On Tuesday 03 August 2021 22:50:59 Gianluca Interlandi wrote:
systemctl --user mask sleep.target suspend.target
I am running Devuan Beowulf: no systemd, only init on my system. As there is
no systemd, there also seems to be no systemctl. I searched apt for the
package, and it only brings up systemd, so it must depend on systemd or be
part of that package.
Incidentally, why not disable it system-wide? As I am the only user, and I
generally leave my desktop running for long-term tasks, it would seem
preferable to me that it is disabled system-wide.
What puzzles me most is the fact that I keep setting it to disable
hibernate/sleep/standby, etc., and it works for awhile, then gets reset; yet
I haven't changed anything in these settings, and never touch them -- except
of course that this problem keeps recurring.
Bill