gui-apps/sway-services: add systemctl path patch

This commit is contained in:
Alexander Miroshnichenko 2022-02-21 19:28:47 +03:00
parent ad94fbff7c
commit 304f7c99de
Signed by: alex
GPG Key ID: E93720C6C73A77F4
3 changed files with 31 additions and 1 deletions

View File

@ -1 +1,2 @@
EBUILD sway-services-9999.ebuild 639 BLAKE2B aff44c4ac503dc073f5b3ebcf2196e16f15099f54e9e262e33c35dde22a7165328846129c7089e98f6f96d29cdeb1edff70f71c868638569dd343be4e473f2cc SHA512 08f1bb26d947985ac81c849eb37da5b780e44cdf8fbd514edd155f1b14b0dc08e08664328dd5147e12a6219db2f2929c3cc4c6be60bdeb6d7f290a820ee03ce2
AUX 0001-Fix-systemd-systemctl-path.patch 881 BLAKE2B e82625f43593aa06917d95e397b5c6b1e02442019533428fa4e69b53e48f488174744cc4b1b88f3deea1e4825cb72d54cda0445f30acb8be74b6c13f18c89eca SHA512 3555e9c672a571f0fb3bc21d0fcec1f34e659fb0fc18b9910b0fef5d80818fd89ba16782e7aec90437a859e1ca50ab7c4ba271016ca6a21d6cfe42bc9af0d021
EBUILD sway-services-9999.ebuild 706 BLAKE2B 485df33dd253c954b6ac5dfc952860811ea3e540851585654231ff69dc2add9334131aaf341d7cb69a146609ebc5f3287fb5ab186a06838377e543af0cbf19ae SHA512 04e7e9d492dd5780134e9daece608767df40a4616db3814220cd8753141ba63d43b7031c63c1ff57821626c01bcf457706e43e585e89b8f41eead5f57b70dd42

View File

@ -0,0 +1,25 @@
From 3603fabe1d3b9c450a68d5ec813bef4ea6e97b76 Mon Sep 17 00:00:00 2001
From: Alexander Miroshnichenko <a.miroshnichenko@rbk.money>
Date: Mon, 21 Feb 2022 19:25:32 +0300
Subject: [PATCH] Fix systemd systemctl path
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Alexander Miroshnichenko <a.miroshnichenko@rbk.money>
---
systemd/sway.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd/sway.service b/systemd/sway.service
index ad2f9fbe084c..05ec332eb45c 100644
--- a/systemd/sway.service
+++ b/systemd/sway.service
@@ -16,4 +16,4 @@ Restart=on-failure
RestartSec=1
TimeoutStopSec=10
NotifyAccess=all
-ExecStopPost=/usr/bin/systemctl --user unset-environment SWAYSOCK DISPLAY I3SOCK WAYLAND_DISPLAY
+ExecStopPost=/bin/systemctl --user unset-environment SWAYSOCK DISPLAY I3SOCK WAYLAND_DISPLAY
--
2.26.2

View File

@ -23,3 +23,7 @@ RDEPEND="${DEPEND}
gui-wm/sway
sys-apps/systemd"
BDEPEND=""
PATCHES="
"${FILESDIR}"/0001-Fix-systemd-systemctl-path.patch
"