summaryrefslogtreecommitdiffstats
path: root/systemd/matrix-dimension.service
blob: a89987e129efdf111c7d3af10fb486eecbfdb997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Matrix Integrations Server
Requires=matrix-synapse.service postgresql.service
After=network.target

[Service]
Type=simple
ExecStart=/opt/matrix/dimension/start.sh
ExecStop=/opt/matrix/dimension/stop.sh
WorkingDirectory=/opt/matrix/dimension

Restart=always
RestartSec=60

SyslogIdentifier=dimension

User=dimension
Group=matrix

[Install]
WantedBy=default.target