Files
guru/sys-cluster/pcs/files/pcsd-daemon.service.patch
Alessandro Barbieri fe3c738c21 sys-cluster/pcs: fix patches, remove old
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-06-28 00:17:43 +02:00

20 lines
646 B
Diff

--- a/pcsd/pcsd-ruby.service
+++ b/pcsd/pcsd-ruby.service
@@ -5,13 +5,12 @@
Requires=network-online.target
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
+StopWhenUnneeded=false
+# 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