Generate conduit.toml instead of debian environment file
Only generate this file once. I am not sure what to do with future upgrades yet.
This commit is contained in:
parent
ab58609d3d
commit
5bf43a4d7e
5 changed files with 57 additions and 48 deletions
5
debian/matrix-conduit.service
vendored
5
debian/matrix-conduit.service
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue