[sheepdog] [PATCH v2 5/6] debian: disable automatic start by default
MORITA Kazutaka
morita.kazutaka at gmail.com
Sat Jul 13 16:23:01 CEST 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
The sheep daemon tries to join the existing cluster autonomously, so
starting sheepdog by default can cause a problem which the user
doesn't expect. This disables automatic start by default and adds a
bit higher priority to the flag.
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
debian/sheepdog.config | 2 +-
debian/sheepdog.templates | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/sheepdog.config b/debian/sheepdog.config
index 18e79a1..448dfdd 100644
--- a/debian/sheepdog.config
+++ b/debian/sheepdog.config
@@ -12,7 +12,7 @@ if [ -r /etc/default/sheepdog ] ; then
fi
db_set sheepdog/daemon_args "$DAEMON_ARGS"
fi
-db_input low sheepdog/start || true
+db_input medium sheepdog/start || true
db_input medium sheepdog/daemon_args || true
db_go || true
diff --git a/debian/sheepdog.templates b/debian/sheepdog.templates
index ae62db5..7e4db86 100644
--- a/debian/sheepdog.templates
+++ b/debian/sheepdog.templates
@@ -9,7 +9,7 @@
Template: sheepdog/start
Type: boolean
-Default: true
+Default: false
_Description: Automatically start the sheepdog service?
Please choose whether the sheepdog service should start automatically
when the system is booted.
--
1.7.9.5
More information about the sheepdog
mailing list