[arch-commits] Commit in matrix-synapse/trunk (synapse.install)
Johannes Löthberg
demize at archlinux.org
Sat Aug 5 18:00:38 UTC 2017
Date: Saturday, August 5, 2017 @ 18:00:34
Author: demize
Revision: 248794
urhm, fix that..
Modified:
matrix-synapse/trunk/synapse.install
-----------------+
synapse.install | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: synapse.install
===================================================================
--- synapse.install 2017-08-05 17:55:52 UTC (rev 248793)
+++ synapse.install 2017-08-05 18:00:34 UTC (rev 248794)
@@ -4,11 +4,12 @@
post_install() {
if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
cat <<-EOF
- ==> A synapse configuration file needs to be generated before you can start
- synapse. The following commands needs to be run as the synapse user.
+ ==> A synapse configuration file needs to be generated before you can
+ start synapse, and you should make sure that it's readable by the
+ synapse user.
cd /var/lib/synapse
- python2 -m synapse.app.homeserver \\
+ sudo -u synapse python2 -m synapse.app.homeserver \\
--server-name my.domain.name \\
--config-path /etc/synapse/homeserver.yaml \\
--generate-config \\
More information about the arch-commits
mailing list