Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

restart create_ap after suspend-and-resume #441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dlenski
Copy link

@dlenski dlenski commented Apr 16, 2020

Uses the /lib/systemd/system-sleep mechanism.
See https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html for how this works.

(ping #153, #167)

@dlenski dlenski force-pushed the restart_after_suspend_and_resume branch 5 times, most recently from 3269e1c to af2213d Compare April 16, 2020 03:25
@dlenski
Copy link
Author

dlenski commented Apr 16, 2020

For reasons that aren't clear to me, on Ubuntu 16.4 (systemd 229-4ubuntu21.27) it appears that this script is only executed if placed in /lib/systemd/system-sleep, and not if placed in /usr/lib/systemd/system-sleep

Would be good if others can confirm whether or not this issue exists on other versions of systemd.

Uses the /lib/systemd/system-sleep mechanism.
See https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html for how this works.

For unclear reasons, this only works in /lib/systemd/system-sleep, not in /usr/lib/systemd/system-sleep.

(ping oblique#153, oblique#167)
@dlenski dlenski force-pushed the restart_after_suspend_and_resume branch from af2213d to 380e4f4 Compare April 16, 2020 03:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant