blob: d6094e2abe116bf748d93882179af46fc925b116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=A token based matrix registration api.
After=network-online.target
Requires=network-online.target
[Service]
Type=simple
ExecStartPre=/usr/bin/alembic -c /etc/matrix-registration/alembic.ini -x config=/etc/matrix-registration/config.yaml upgrade head
ExecStart=/usr/bin/matrix-registration --config-path /etc/matrix-registration/config.yaml serve
WorkingDirectory=/var/lib/matrix-registration
DynamicUser=true
ConfigurationDirectory=matrix-registration
StateDirectory=matrix-registration
[Install]
WantedBy=multi-user.target
|