summarylogtreecommitdiffstats
path: root/mautrix-telegram.install
diff options
context:
space:
mode:
authorBrainDamage2020-11-10 01:56:30 +0100
committerBrainDamage2020-11-10 01:56:30 +0100
commitb652419101b6bfb54c027f750ee19b9f8d6814e5 (patch)
treefc2ef4cd798db7f2a2139b67357185466d227091 /mautrix-telegram.install
parent37712eb826ddcaece17a03f191f6284320ffb039 (diff)
downloadaur-b652419101b6bfb54c027f750ee19b9f8d6814e5.tar.gz
fixed a nasty typo in the post_install instructions
added an empty stub registration file so that the file gets the right permissions from the start, so the secret keys are never world readable
Diffstat (limited to 'mautrix-telegram.install')
-rw-r--r--mautrix-telegram.install4
1 files changed, 1 insertions, 3 deletions
diff --git a/mautrix-telegram.install b/mautrix-telegram.install
index d841ff32ac1a..57dce084b8a9 100644
--- a/mautrix-telegram.install
+++ b/mautrix-telegram.install
@@ -1,8 +1,6 @@
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
+ # mautrix-telegram -b /usr/share/mautrix-telegram/example-config.yaml -c /etc/mautrix-telegram/config.yaml -r /etc/mautrix-telegram/registration.yaml -g
EOF
}