diff options
author | Pieter <phol@users.noreply.github.com> | 2020-10-12 11:06:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 10:06:56 +0100 |
commit | 0804594a614998fd115fb99224183c66af34ecfa (patch) | |
tree | 8f68f57152ab5fe40099f6913fb9ed077b372956 /docs | |
parent | 6b579e6abadd71f0e367b98f4988758fc07e5f54 (diff) |
Add systemd example service to docs (#1512)
Signed-off-by: Pieter Hollander <git@pieterhollander.nl>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/systemd/monolith-example.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/systemd/monolith-example.service b/docs/systemd/monolith-example.service new file mode 100644 index 00000000..7dd7755d --- /dev/null +++ b/docs/systemd/monolith-example.service @@ -0,0 +1,17 @@ +[Unit] +Description=Dendrite (Matrix Homeserver) +After=syslog.target +After=network.target +After=postgresql.service + +[Service] +RestartSec=2s +Type=simple +User=dendrite +Group=dendrite +WorkingDirectory=/opt/dendrite/ +ExecStart=/opt/dendrite/bin/dendrite-monolith-server +Restart=always + +[Install] +WantedBy=multi-user.target |