Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

synctl restart should start synapse if it wasn't running #7624

Merged
merged 1 commit into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7624.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make `synctl restart` start synapse if it wasn't running.
2 changes: 1 addition & 1 deletion synctl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def main():
if start_stop_synapse:
if not stop(pidfile, "synapse.app.homeserver"):
has_stopped = False
if not has_stopped:
if not has_stopped and action == "stop":
sys.exit(1)

# Wait for synapse to actually shutdown before starting it again
Expand Down