mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
x11-misc/betterlockscreen: added patch to fix path in systemd unit
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>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user