summaryrefslogtreecommitdiff
path: root/debian/matrix-conduit.service
diff options
context:
space:
mode:
authorPaul van Tilburg <paul@luon.net>2020-11-13 20:35:22 +0100
committerPaul van Tilburg <paul@luon.net>2020-11-24 14:42:18 +0100
commitf72554de1014eea6b5c224548e9d0aeb15553cf7 (patch)
tree8aa4d15c8a575069a80e8aa448ab48528bb7ed3c /debian/matrix-conduit.service
parent79692db45dfe2fec6d0fec280bfba2be740d58a5 (diff)
downloadconduit-f72554de1014eea6b5c224548e9d0aeb15553cf7.zip
Split config into a Debian and local part
* The Debian part will be generated and managed by Debconf and configure homeserver name, address and port * The local part will just be a config file that shows the other configuration options Added the address configuration and moved the config generation from the config to the postinst script.
Diffstat (limited to 'debian/matrix-conduit.service')
-rw-r--r--debian/matrix-conduit.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/matrix-conduit.service b/debian/matrix-conduit.service
index 96c4856..42969c1 100644
--- a/debian/matrix-conduit.service
+++ b/debian/matrix-conduit.service
@@ -9,7 +9,8 @@ Type=simple
Environment="ROCKET_ENV=production"
Environment="ROCKET_DATABASE_PATH=/var/lib/matrix-conduit"
-EnvironmentFile=/etc/matrix-conduit/env
+EnvironmentFile=/etc/matrix-conduit/debian
+EnvironmentFile=/etc/matrix-conduit/local
ExecStart=/usr/sbin/matrix-conduit
Restart=on-failure