--- a/pcs-0.10.8/pcsd/pcsd-ruby.service	2021-02-01 09:22:26.000000000 -0000
+++ b/pcs-0.10.8/pcsd/pcsd-ruby.service	2021-04-11 14:13:00.176650050 -0000
@@ -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
