summarylogtreecommitdiffstats
path: root/mautrix-telegram.install
diff options
context:
space:
mode:
Diffstat (limited to 'mautrix-telegram.install')
-rw-r--r--mautrix-telegram.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/mautrix-telegram.install b/mautrix-telegram.install
new file mode 100644
index 000000000000..d841ff32ac1a
--- /dev/null
+++ b/mautrix-telegram.install
@@ -0,0 +1,8 @@
+post_install() {
+ cat <<- 'EOF'
+ after editing /etc/mautrix-telegram/config.yaml, generate a registration file using:
+ # mautrix-telegram -b /etc/mautrix-telegram/config.yaml -c /usr/share/mautrix-telegram/example-config.yaml -r /etc/mautrix-telegram/registration.yaml -g
+ then update the permissions/ownership using:
+ # systemd-tmpfiles --create --prefix /etc/mautrix-telegram
+ EOF
+}