This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Modify systemd unit file reference to align with installation instruction #6369
Merged
anoadragon453
merged 13 commits into
matrix-org:master
from
cgarwood82:systemd-documentation
Dec 5, 2019
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
acdb952
Modify systemd unit file reference to align with installation instruc…
cgarwood82 3680219
added changelog note
cgarwood82 4b1c13d
Update contrib/systemd/README.md
cgarwood82 4f658b6
Update contrib/systemd/README.md
cgarwood82 2c430d9
Update contrib/systemd/README.md
cgarwood82 67c8fef
Update contrib/systemd/README.md
cgarwood82 9b5e7c6
Update contrib/systemd/README.md
cgarwood82 0a88c4a
Update contrib/systemd/matrix-synapse.service
cgarwood82 e353cb4
Update contrib/systemd/README.md
cgarwood82 55037ec
Update contrib/systemd/README.md
cgarwood82 d4c5018
Update contrib/systemd/README.md
cgarwood82 632bc38
Update contrib/systemd/matrix-synapse.service
cgarwood82 ee39ff5
Adding @anoadragon453 recommendation
cgarwood82 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update documentation and variables in user contributed systemd reference file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Setup Synapse with Systemd | ||
This is a setup for managing synapse with a user contributed systemd unit | ||
file. It provides a `matrix-synapse` systemd unit file that should be tailored | ||
to accommodate your installation in accordance with the installation | ||
instructions provided in [installation instructions](../../INSTALL.md). | ||
|
||
## Setup | ||
1. Under the service section, ensure the `User` variable matches which user | ||
you installed synapse under and wish to run it as. | ||
2. Under the service section, ensure the `WorkingDirectory` variable matches | ||
where you have installed synapse. | ||
3. Under the service section, ensure the `ExecStart` variable matches the | ||
appropriate locations of your installation. | ||
4. Copy the `matrix-synapse.service` to `/etc/systemd/system/` | ||
5. Start Synapse: `sudo systemctl start matrix-synapse` | ||
6. Verify Synapse is running: `sudo systemctl status matrix-synapse` | ||
7. *optional* Enable Synapse to start at system boot: `sudo systemctl enable matrix-synapse` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.