1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Nikolay Amiantov <ab@fmap.me>
3 Date: Thu, 25 Jul 2019 20:46:58 +0300
4 Subject: [PATCH] systemd-sleep: execute scripts in /etc/systemd/system-sleep
6 This is needed for NixOS to use such scripts as systemd directory is immutable.
8 src/sleep/sleep.c | 1 +
9 1 file changed, 1 insertion(+)
11 diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
12 index c96207428d..1e95eec7f1 100644
13 --- a/src/sleep/sleep.c
14 +++ b/src/sleep/sleep.c
15 @@ -217,6 +217,7 @@ static int execute(
17 static const char* const dirs[] = {
19 + "/etc/systemd/system-sleep",