On Dec 8, 2013, at 10:14 AM, Greg Woods <wo...@ucar.edu> 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 kills all the ssh sessions because they are
> always hung after a resume and I have to close the windows manually
> anyway), but I haven't figured out the exact incantation to get a
> service to restart on resume. Saying "After=sleep.target" has not
> worked, and there doesn't seem to be anything like a resume.target or
> wakeup.target .

I think this is a good question to ask on systemd-devel@ list. The devs are 
quite responsive, and if it's too simple a question then there are more 
advanced users lurking who'd likely answer.

Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to