Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c78f11b
commit 7599b2f
Showing
21 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-monolith-server \ | ||
--config /etc/dendrite/dendrite.yaml |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml appservice |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml clientapi |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml eduserver |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml federationapi |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml keyserver |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml mediaapi |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml roomserver |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml syncapi |
This file contains 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 @@ | ||
/usr/bin/vlogger |
This file contains 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,5 @@ | ||
#!/bin/sh | ||
cd /var/lib/dendrite | ||
exec 2>&1 | ||
exec chpst -u _dendrite:_dendrite dendrite-polylith-multi \ | ||
--config /etc/dendrite/dendrite.yaml userapi |
This file contains 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,43 @@ | ||
# Template file for 'dendrite' | ||
pkgname=dendrite | ||
version=0.6.2 | ||
revision=1 | ||
build_style=go | ||
go_import_path="github.com/matrix-org/dendrite" | ||
go_package="./cmd/create-account ./cmd/dendrite-monolith-server | ||
./cmd/dendrite-polylith-multi ./cmd/generate-config ./cmd/generate-keys" | ||
short_desc="Dendrite is a second-generation Matrix homeserver written in Go" | ||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>" | ||
license="Apache-2.0" | ||
homepage="https://matrix.org/docs/projects/server/dendrite" | ||
distfiles="https://github.com/matrix-org/dendrite/archive/v${version}.tar.gz" | ||
checksum=c86494b835a06fb5740c138c030121104332c9312176bb105e60c6ac7cc1fed8 | ||
|
||
system_accounts="_dendrite" | ||
_dendrite_homedir="/var/lib/dendrite" | ||
|
||
make_dirs=" | ||
/var/lib/dendrite 0700 _dendrite _dendrite | ||
/var/log/dendrite 0755 _dendrite _dendrite | ||
/etc/dendrite 0755 _dendrite _dendrite" | ||
|
||
pre_configure() { | ||
vsed -e 's,\./logs,/var/log/dendrite,' \ | ||
-e 's,: matrix_key.pem,: /etc/dendrite/matrix_key.pem,' \ | ||
-i dendrite-config.yaml | ||
} | ||
|
||
post_install() { | ||
vsconf dendrite-config.yaml dendrite.yaml | ||
|
||
vsv dendrite-monolith-server | ||
vsv dendrite-polylith-clientapi | ||
vsv dendrite-polylith-syncapi | ||
vsv dendrite-polylith-mediaapi | ||
vsv dendrite-polylith-federationapi | ||
vsv dendrite-polylith-roomserver | ||
vsv dendrite-polylith-appservice | ||
vsv dendrite-polylith-keyserver | ||
vsv dendrite-polylith-eduserver | ||
vsv dendrite-polylith-userapi | ||
} |