summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/debs/Debian/debian/config4
-rw-r--r--packaging/debs/Debian/debian/templates10
2 files changed, 7 insertions, 7 deletions
diff --git a/packaging/debs/Debian/debian/config b/packaging/debs/Debian/debian/config
index 0cac02cb31..d01b9da7ac 100644
--- a/packaging/debs/Debian/debian/config
+++ b/packaging/debs/Debian/debian/config
@@ -11,9 +11,9 @@ if ! su rabbitmq -s /bin/sh -c /usr/lib/rabbitmq/bin/rabbitmq-mnesia-current ; t
db_go
db_get rabbitmq-server/do-what-with-mnesia-dir
- if [ "$RET" = "Delete it" ]; then
+ if [ "$RET" = "Deleted" ]; then
rm -r /var/lib/rabbitmq/mnesia/
- elif [ "$RET" = "Move it elsewhere" ]; then
+ elif [ "$RET" = "Moved elsewhere" ]; then
db_input high rabbitmq-server/move-mnesia-dir-where || true
db_go
diff --git a/packaging/debs/Debian/debian/templates b/packaging/debs/Debian/debian/templates
index 89f5754bd7..e88cb2f3ca 100644
--- a/packaging/debs/Debian/debian/templates
+++ b/packaging/debs/Debian/debian/templates
@@ -1,16 +1,16 @@
Template: rabbitmq-server/mnesia-dir-note
Type: note
Description: Schema changed
- The RabbitMQ database schema has changed. If your RabbitMQ database contains important data, such as user accounts, durable exchanges and queues, or persistent messages, then we recommend you contact support@rabbitmq.com for assistance with the upgrade. If you want to experiment with the new version in the meantime, simply move the database directory to a safe place. In all other cases just remove the directory.
+ The RabbitMQ database schema has changed. If your RabbitMQ database contains important data, such as user accounts, durable exchanges and queues, or persistent messages, then it is recommended to contact support@rabbitmq.com for assistance with the upgrade. If you want to experiment with the new version in the meantime, simply move the database directory to a safe place. In all other cases just remove the directory.
Template: rabbitmq-server/do-what-with-mnesia-dir
Type: select
-Choices: Delete it, Move it elsewhere, Keep it in place (WILL BREAK)
-Default: Delete it
-Description: What do you want to do with the RabbitMQ database directory?
+Choices: Deleted, Moved elsewhere, Kept it in place (WILL BREAK)
+Default: Moved elsewhere
+Description: The old RabbitMQ database directory would be:
Template: rabbitmq-server/move-mnesia-dir-where
Type: string
Default: /var/lib/rabbitmq/mnesia-old/
-Description: Where do you want to move the RabbitMQ database directory?
+Description: Directory where the old RabbitMQ database would be moved: