Timeline for Writing a systemd service to be executed at resume
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 28, 2020 at 13:36 | comment | added | SebMa |
@Emmanuel I don't understand why the WantedBy parameter is not enough. Once I click on the power button to resume the computer, am I not back inside the multi-user.target ? Can you please explain the WantedBy parameter because the man systemd.unit is not clear to me ?
|
|
| Dec 22, 2017 at 2:51 | comment | added | Naftuli Kay | I'm using the following units successfully here on Ubuntu 16.04 (elementary Loki). | |
| May 12, 2016 at 8:19 | vote | accept | lviggiani | ||
| May 10, 2016 at 17:40 | comment | added | Emmanuel |
Works with After=suspend.target in Unit and WantedBy=multi-user.target sleep.target in Install.
|
|
| Sep 3, 2015 at 16:04 | review | First posts | |||
| Sep 3, 2015 at 16:07 | |||||
| Sep 3, 2015 at 15:09 | history | answered | jat255 | CC BY-SA 3.0 |