Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-03-03 Thread James May
On 1 March 2013 07:24, Cristian Rodríguez crrodrig...@opensuse.org wrote: Having this confessed non-ideal ReloadOnResume ,StopOnSuspend in unit files etc will make extremely easy to avoid relying on either pm-utils hooks or those new in /usr/lib/systemd/systemd-sleep and having to patch buggy

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Lennart Poettering
On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Hi: There is buggy, legacy software around which simply does not behave properly when faced with resume/suspend/hibernate which is not always practical to modify or fix. Is there any way to have something like

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Hi: There is buggy, legacy software around which simply does not behave properly when faced with resume/suspend/hibernate which is not

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Hi: There is buggy, legacy software around which simply does not

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Tom Gundersen
On Thu, Feb 28, 2013 at 5:51 PM, Frederic Crozat fcro...@suse.com wrote: Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote:

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
Le jeudi 28 février 2013 à 17:58 +0100, Tom Gundersen a écrit : On Thu, Feb 28, 2013 at 5:51 PM, Frederic Crozat fcro...@suse.com wrote: Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: On Wed,

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Cristian Rodríguez
El 28/02/13 12:55, Colin Guthrie escribió: That said, I think Fred had patches that are applied in Suse to read these pm-utils hooks anyway, so that might be what Cristian needs? No, this request was based on the fact that this change was made to openSUSE systemd and calling pm-utils is an

[systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-27 Thread Cristian Rodríguez
Hi: There is buggy, legacy software around which simply does not behave properly when faced with resume/suspend/hibernate which is not always practical to modify or fix. Is there any way to have something like ReloadOnResume=[true|false] StopOnSuspend=[true|false] Or some other mechanism