On Friday, 6 January 2017 16:21:22 CET Bjoern Voigt wrote:
Andrei Borzenkov wrote:
On Thu, Dec 29, 2016 at 2:34 PM, Carlos E. R.
<robin.listas@telefonica.net> wrote:
Hi,
I see scripts in "/usr/lib/systemd/system-sleep/". What would be the right place to add my own scripts?
It depends on what this script does.
A pointer to reading about them?
"man systemd-sleep" and "man bootup" would be a good start
The manual page systemd-sleep.conf(5) says
NAME systemd-sleep.conf, sleep.conf.d - Suspend and hibernation configuration file
SYNOPSIS /etc/systemd/sleep.conf
/etc/systemd/sleep.conf.d/*.conf
/run/systemd/sleep.conf.d/*.conf
/usr/lib/systemd/sleep.conf.d/*.conf
Unfortunately none of the directories exist on Tumbleweed. May be /etc/systemd/sleep.conf.d/*.conf works, if the directory is created. It looks like a documentation issue.
My own scripts are in /usr/lib/systemd/system-sleep, which isn't an ideal place for user defined scripts.
Greetings, Björn to my knowledge these are USER DEFINED drop-in directories https://www.freedesktop.org/software/systemd/man/systemd.unit.html
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org