On Sun, 2013-12-08 at 18:22 +0100, Heinz Diehl wrote:
> On 08.12.2013, Greg Woods wrote:
>
> > I am trying to find a way to get a service to restart when the system is
> > resumed from suspend or hibernation.
>
> You can place a script in /usr/lib/systemd/system-sleep
Thanks for the tip on tha
On Dec 8, 2013, at 10:14 AM, Greg Woods wrote:
> I am trying to find a way to get a service to restart when the system is
> resumed from suspend or hibernation. I can get something to run when the
> system is put to sleep by using sleep.target (for example, I have an
> "ssh-suspend" service that
On 08.12.2013, Greg Woods wrote:
> I am trying to find a way to get a service to restart when the system is
> resumed from suspend or hibernation.
You can place a script in /usr/lib/systemd/system-sleep like
this. Replace with your own script you want to have
executed when the system is waking
I am trying to find a way to get a service to restart when the system is
resumed from suspend or hibernation. I can get something to run when the
system is put to sleep by using sleep.target (for example, I have an
"ssh-suspend" service that kills all the ssh sessions because they are
always hung a