Files
guru/sys-cluster/pcs/files/pcsd-daemon.service.patch
Andrea Postiglione 13fb9bbf96 sys-cluster/pcs-0.10.8-r1: fix systemd service
Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
2021-03-23 21:05:00 +01:00

18 lines
684 B
Diff

--- 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