summaryrefslogtreecommitdiff
path: root/debian/matrix-conduit.service
diff options
context:
space:
mode:
authorPaul van Tilburg <paul@luon.net>2021-04-16 22:10:07 +0200
committerPaul van Tilburg <paul@luon.net>2021-04-22 21:52:40 +0200
commit5bf43a4d7e5861cd9696da79aa26714bd18c8c3c (patch)
treef7341646acd0e6d2b76cf796dc2eaab762bb1676 /debian/matrix-conduit.service
parentab58609d3d85149ffcd342911dd326f397f39f24 (diff)
downloadconduit-5bf43a4d7e5861cd9696da79aa26714bd18c8c3c.zip
Generate conduit.toml instead of debian environment file
Only generate this file once. I am not sure what to do with future upgrades yet.
Diffstat (limited to 'debian/matrix-conduit.service')
-rw-r--r--debian/matrix-conduit.service5
1 files changed, 1 insertions, 4 deletions
diff --git a/debian/matrix-conduit.service b/debian/matrix-conduit.service
index 5ab7917..7c12d1a 100644
--- a/debian/matrix-conduit.service
+++ b/debian/matrix-conduit.service
@@ -34,10 +34,7 @@ SystemCallFilter=@system-service
SystemCallErrorNumber=EPERM
StateDirectory=matrix-conduit
-Environment="ROCKET_ENV=production"
-Environment="ROCKET_DATABASE_PATH=/var/lib/matrix-conduit"
-EnvironmentFile=/etc/matrix-conduit/debian
-EnvironmentFile=/etc/matrix-conduit/local
+Environment="CONDUIT_CONFIG=/etc/matrix-conduit/conduit.toml"
ExecStart=/usr/sbin/matrix-conduit
Restart=on-failure