From 6410fd8d58e250a877a0bcdab06184e45e707c65 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:34:32 +0200 Subject: Initial Systemd Service Run: 1/3 Signed-off-by: Georg --- systemd/matrix-keyserver.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd/matrix-keyserver.service (limited to 'systemd/matrix-keyserver.service') diff --git a/systemd/matrix-keyserver.service b/systemd/matrix-keyserver.service new file mode 100644 index 0000000..62031d1 --- /dev/null +++ b/systemd/matrix-keyserver.service @@ -0,0 +1,12 @@ +[Unit] +Description=Matrix Key Server +Requires=postgresql.service + +[Service] +Type=simple +User=keyserver +Group=matrix +ExecStart=/opt/matrix/keyserver/matrix-key-server/bin/matrix-key-server -address="127.0.0.2" -port=8076 -domain="keys.matrix.liberta.casa" -postgres="postgres://$USER:$PASS@$SERVER/$DB?sslmode=$SSL" + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3