aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-db.templates
diff options
context:
space:
mode:
authorBruno Cesar Ribas <brunoribas@gmail.com>2018-08-23 14:33:16 +0000
committerBruno Cesar Ribas <brunoribas@gmail.com>2018-08-23 14:33:16 +0000
commit59a32fa0c982c04d377be12d358c52bb08f1e421 (patch)
tree3efe6ace34e4e10103c4a7eeae3554a578c7697a /debian/boca-db.templates
parent70299e4fea03568965e14026e3bf810e9ed2ef08 (diff)
downloadboca-59a32fa0c982c04d377be12d358c52bb08f1e421.tar.gz
boca-59a32fa0c982c04d377be12d358c52bb08f1e421.zip
d/boca-db.{postinst,templates}: New postinst
This postinst will prompt the user for a DB password and will configure postgresql accordingly Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
Diffstat (limited to 'debian/boca-db.templates')
-rw-r--r--debian/boca-db.templates11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/boca-db.templates b/debian/boca-db.templates
new file mode 100644
index 0000000..895098d
--- /dev/null
+++ b/debian/boca-db.templates
@@ -0,0 +1,11 @@
+Template: boca-db/dbpassword
+Type: password
+Description: Please provide a password for BOCA database:
+ Please, do not forget this password. You will need it to provide it while
+ configuring boca-web and boca-autojudge.
+
+Template: boca-db/createdb
+Type: select
+Choices: Yes, No
+Description: Should a new DB be created for BOCA?
+ Warning: This operation will erase any existing previously created BOCA DB