mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
In the systemd unit upstream the betterlockscreen binary path is hardcoded to /usr/local . This commit adds a patch that corrects that path to the one where betterlocksreen is installed by the ebuild. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Vladimir Timofeenko <id@vtimofeenko.com>
16 lines
512 B
Diff
16 lines
512 B
Diff
Original systemd service uses binary in /usr/local/bin which goes
|
|
against Gentoo FS policy
|
|
diff --git a/system/betterlockscreen@.service b/system/betterlockscreen@.service
|
|
index b9ad6fb..d0674ab 100644
|
|
--- a/system/betterlockscreen@.service
|
|
+++ b/system/betterlockscreen@.service
|
|
@@ -7,7 +7,7 @@ Before=suspend.target
|
|
User=%I
|
|
Type=simple
|
|
Environment=DISPLAY=:0
|
|
-ExecStart=/usr/local/bin/betterlockscreen --lock
|
|
+ExecStart=/usr/bin/betterlockscreen --lock
|
|
TimeoutSec=infinity
|
|
ExecStartPost=/usr/bin/sleep 1
|
|
|