summarylogtreecommitdiffstats
path: root/matrix-registration.install
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-registration.install')
-rw-r--r--matrix-registration.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/matrix-registration.install b/matrix-registration.install
new file mode 100644
index 000000000000..d5810bdf7bd0
--- /dev/null
+++ b/matrix-registration.install
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# arg 1: the new package version
+post_install() {
+ if [[ ! -e /var/lib/matrix-registration/config.yaml ]]; then
+ cat <<-EOF
+ ==> A configuration file called config.yaml needs to be created before you can start
+ the matrix-registration server.
+
+ You can start from /etc/matrix-registration/config.sample.yaml.
+ EOF
+ fi
+}