On Mon, Nov 02, 2015 at 09:04:31AM +0100, Lennart Poettering wrote:
> On Wed, 28.10.15 19:30, John (da_audioph...@yahoo.com) wrote:
>
> > I have a simple bash script that I would like to have a user service
> > file run with an argument when the system enters a sleep or
> > hibernation state but
On Mon, Nov 2, 2015 at 3:34 PM, Richard Maw
wrote:
> On Mon, Nov 02, 2015 at 09:04:31AM +0100, Lennart Poettering wrote:
> > On Wed, 28.10.15 19:30, John (da_audioph...@yahoo.com) wrote:
> >
> > > I have a simple bash script that I would like to have a user service
>
On Wed, 28.10.15 19:30, John (da_audioph...@yahoo.com) wrote:
> I have a simple bash script that I would like to have a user service
> file run with an argument when the system enters a sleep or
> hibernation state but as I understand it, user service units do not
> use the sleep.target. The
On Mon, Nov 02, 2015 at 04:11:14PM +0200, Mantas Mikulėnas wrote:
> On Mon, Nov 2, 2015 at 3:34 PM, Richard Maw
> wrote:
>
> > On Mon, Nov 02, 2015 at 09:04:31AM +0100, Lennart Poettering wrote:
> > > On Wed, 28.10.15 19:30, John (da_audioph...@yahoo.com) wrote:
> >
On 29/10/15 18:52, John wrote:
> This is an interesting idea but I would like to learn about user units and
> sleep mode :)
I think the intention is that per-user code deals with sleep by having a
service (daemon) that registers to inhibit suspend; when it is notified
that systemd would like to
> From: David Timothy Strauss
>To: John ; "systemd-devel@lists.freedesktop.org"
>
>Sent: Wednesday, October 28, 2015 7:54 PM
>Subject: Re: [systemd-devel] Help writing a user
- Original Message -
> From: Simon McVittie
> To: systemd-devel@lists.freedesktop.org
> Cc:
> Sent: Thursday, October 29, 2015 3:27 PM
> Subject: Re: [systemd-devel] Help writing a user service file that will exec
> a command upon system sleep
>
> On
I have a simple bash script that I would like to have a user service file run
with an argument when the system enters a sleep or hibernation state but as I
understand it, user service units do not use the sleep.target. The goal is to
have the following run before the system goes into