mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-cluster/pcs-0.10.8-r1: fix systemd service
Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
This commit is contained in:
17
sys-cluster/pcs/files/pcsd-daemon.service.patch
Normal file
17
sys-cluster/pcs/files/pcsd-daemon.service.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- pcs-0.10.8/pcsd/pcsd-ruby.service 2021-02-01 10:22:26.000000000 +0100
|
||||
+++ pcs-0.10.8/pcsd/pcsd-ruby.service.new 2021-03-23 20:13:24.380792446 +0100
|
||||
@@ -6,12 +6,11 @@
|
||||
After=network-online.target
|
||||
# Stop the service automatically if nothing that depends on it is running
|
||||
StopWhenUnneeded=true
|
||||
-# When stopping or restarting pcsd, stop or restart pcsd-ruby as well
|
||||
+# When stopping or restarting pcsd, stop or restart pcsd-daemon as well
|
||||
PartOf=pcsd.service
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=/etc/sysconfig/pcsd
|
||||
-Environment=GEM_HOME=/usr/lib/pcsd/vendor/bundle/ruby
|
||||
+EnvironmentFile=/etc/default/pcsd
|
||||
# This file holds the selinux context
|
||||
ExecStart=/usr/lib/pcsd/pcsd
|
||||
Type=notify
|
||||
@@ -61,7 +61,9 @@ ruby_add_rdepend "
|
||||
www-servers/thin
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/remove-ruby-bundle-path.patch" "${FILESDIR}/openrc-${PV}.patch" )
|
||||
PATCHES=( "${FILESDIR}/remove-ruby-bundle-path.patch"
|
||||
"${FILESDIR}/openrc-${PV}.patch"
|
||||
"${FILESDIR}/pcsd-daemon.service.patch" )
|
||||
|
||||
S="${WORKDIR}/all/${P}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user