summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNathan Cutler <ncutler@suse.com>2015-10-03 12:04:33 +0200
committerNathan Cutler <ncutler@suse.com>2015-10-06 15:18:46 +0200
commit498578dba84de61781fc437c074d3088410905d3 (patch)
treea4c47d72f7a71d1476a951406342b4d032612e35 /etc
parentceph.spec.in: Standardize systemd preun and postun scripts (diff)
downloadceph-498578dba84de61781fc437c074d3088410905d3.tar.xz
ceph-498578dba84de61781fc437c074d3088410905d3.zip
etc/sysconfig/ceph: add CEPH_AUTO_RESTART_ON_UPGRADE
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/sysconfig/ceph11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/sysconfig/ceph b/etc/sysconfig/ceph
index 19584dbbbee..5f41a00f4e2 100644
--- a/etc/sysconfig/ceph
+++ b/etc/sysconfig/ceph
@@ -10,3 +10,14 @@
# higher by 200-300mb.
#
#LD_PRELOAD=/usr/lib64/libjemalloc.so.1
+
+## automatically restart systemd units on upgrade
+#
+# By default, it is left to the administrator to restart
+# ceph daemons (or their related systemd units) manually
+# when the 'ceph' package is upgraded. By setting this
+# parameter to "yes", package upgrade will trigger a
+# "systemctl try-restart" on all the ceph systemd units
+# currently active on the node.
+#
+CEPH_AUTO_RESTART_ON_UPGRADE=no