Re: [systemd-devel] Suspend does not work from a service

2016-03-24 Thread Cecil Westerhof
2016-03-21 10:34 GMT+01:00 Colin Guthrie : > Cecil Westerhof wrote on 19/03/16 23:54: > > 2016-03-18 17:16 GMT+01:00 Cecil Westerhof > >: > > > > I wrote as script to put my netbook into suspend when it is locked > > for five minutes and not connected to the

Re: [systemd-devel] Suspend does not work from a service

2016-03-21 Thread Cecil Westerhof
2016-03-21 10:34 GMT+01:00 Colin Guthrie : > Cecil Westerhof wrote on 19/03/16 23:54: > > 2016-03-18 17:16 GMT+01:00 Cecil Westerhof > >: > > > > I wrote as script to put my netbook into suspend when it is locked > > for five minutes and not connected to the

Re: [systemd-devel] Suspend does not work from a service

2016-03-21 Thread Colin Guthrie
Cecil Westerhof wrote on 19/03/16 23:54: > 2016-03-18 17:16 GMT+01:00 Cecil Westerhof >: > > I wrote as script to put my netbook into suspend when it is locked > for five minutes and not connected to the AC adapter: > > https://github.com/CecilWe

Re: [systemd-devel] Suspend does not work from a service

2016-03-19 Thread Cecil Westerhof
2016-03-18 17:16 GMT+01:00 Cecil Westerhof : > I wrote as script to put my netbook into suspend when it is locked for > five minutes and not connected to the AC adapter: > > https://github.com/CecilWesterhof/BashLibrary/blob/master/bin/suspend.sh > > This works perfect when I start it from the com

[systemd-devel] Suspend does not work from a service

2016-03-19 Thread Cecil Westerhof
I wrote as script to put my netbook into suspend when it is locked for five minutes and not connected to the AC adapter: https://github.com/CecilWesterhof/BashLibrary/blob/master/bin/suspend.sh This works perfect when I start it from the command-line, but not when I use it as a systemd service