2012/9/18 Mantas Mikulėnas <[email protected]>: > On Tue, Sep 18, 2012 at 8:28 PM, David Herrmann > <[email protected]> wrote: >> I don't use any DEs but often close the lid while some background job >> is running (compiler or whatever). Does that mean systemd would >> suspend the machine in this case? I don't think I can convince the GCC >> people to use systemd inhibitors (or do they already provide that?). > > There's always `systemd-inhibit --what=sleep make`...
Doing that for every long running job is cumbersome. Making that configurable on the system(d) level as David suggests, would be an option. Either via a global on/off switch which disables the power management options completely or more fine-grained, like e.g. ActionSleepKey=ignore|sleep|hibernate|poweroff; ActionLidClose=ignore|sleep|hibernate|poweroff; ... -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
