mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-20 18:44:09 +01:00
Merge branch 'master' of github.com:matrix-org/synapse into develop
This commit is contained in:
commit
c54773473f
3 changed files with 54 additions and 49 deletions
|
@ -118,6 +118,7 @@ environment under ``~/.synapse``.
|
|||
|
||||
To set up your homeserver, run (in your virtualenv, as before)::
|
||||
|
||||
$ cd ~/.synapse
|
||||
$ python -m synapse.app.homeserver \
|
||||
--server-name machine.my.domain.name \
|
||||
--config-path homeserver.yaml \
|
||||
|
@ -179,6 +180,7 @@ installing under virtualenv)::
|
|||
|
||||
During setup of homeserver you need to call python2.7 directly again::
|
||||
|
||||
$ cd ~/.synapse
|
||||
$ python2.7 -m synapse.app.homeserver \
|
||||
--server-name machine.my.domain.name \
|
||||
--config-path homeserver.yaml \
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
""" This is a reference implementation of a Matrix home server.
|
||||
"""
|
||||
|
||||
__version__ = "0.7.1-r1"
|
||||
__version__ = "0.7.1-r4"
|
||||
|
|
|
@ -219,6 +219,7 @@ class SynapseHomeServer(HomeServer):
|
|||
|
||||
|
||||
def get_version_string():
|
||||
try:
|
||||
null = open(os.devnull, 'w')
|
||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
||||
try:
|
||||
|
@ -274,6 +275,8 @@ def get_version_string():
|
|||
synapse.__version__, git_version,
|
||||
)
|
||||
).encode("ascii")
|
||||
except Exception as e:
|
||||
logger.warn("Failed to check for git repository: %s", e)
|
||||
|
||||
return ("Synapse/%s" % (synapse.__version__,)).encode("ascii")
|
||||
|
||||
|
|
Loading…
Reference in a new issue