2020-05-31 20:49:07 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Conduit Matrix homeserver
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=_matrix-conduit
|
|
|
|
Group=_matrix-conduit
|
|
|
|
Type=simple
|
|
|
|
|
|
|
|
Environment="ROCKET_ENV=production"
|
|
|
|
Environment="ROCKET_DATABASE_PATH=/var/lib/matrix-conduit"
|
2020-11-13 19:35:22 +00:00
|
|
|
EnvironmentFile=/etc/matrix-conduit/debian
|
|
|
|
EnvironmentFile=/etc/matrix-conduit/local
|
2020-05-31 20:49:07 +00:00
|
|
|
|
|
|
|
ExecStart=/usr/sbin/matrix-conduit
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
|
|
|
StartLimitInterval=1m
|
|
|
|
StartLimitBurst=5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|