Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct location for installation of create_ap.resume (systemd file) #1

Closed
exuvo opened this issue Apr 3, 2022 · 3 comments
Closed

Comments

@exuvo
Copy link

exuvo commented Apr 3, 2022

Your new lines for
$(DESTDIR)/lib/systemd/system-sleep/create_ap.resume
should be
$(DESTDIR)$(PREFIX)/lib/systemd/system-sleep/create_ap.resume

@exuvo
Copy link
Author

exuvo commented Apr 11, 2022

Fixed with exuvo@3315614

@dlenski
Copy link
Owner

dlenski commented Dec 3, 2023

Sorry for the horribly delayed reply 😭 . As I wrote in the commit message of 380e4f4,

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

Does it work for you in /usr/lib? What OS are you using?

@exuvo
Copy link
Author

exuvo commented Dec 4, 2023

I think it worked, i dont sleep my computer much anymore due to a bugged peripheral. Archlinux.

dlenski added a commit that referenced this issue Dec 13, 2023
…tem-sleep

For unclear reasons, this only worked for me on Ubuntu 16.04 if it was put
in `/lib/systemd/system-sleep`, and NOT in `/usr/lib/systemd/system-sleep`.

I'm unsure if this was a systemd bug, a distro bug, or what… but it's
probably no longer applicable on modern distros.

Fix it, and leave behind a warning comment.

Thanks to @exuvo for bringing this up in
#1.
@dlenski dlenski pinned this issue Dec 13, 2023
@dlenski dlenski closed this as completed Dec 13, 2023
@dlenski dlenski changed the title Missing $(PREFIX) in makefile Correct location for installation of create_ap.resume (systemd file) Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants