[Unit]
Description=Integrations server for Matrix.org
After=network.target

[Service]
ExecStart=npm run start:app
WorkingDirectory=/usr/share/matrix-dimension
Environment=NODE_ENV=production

# Restart timing
Restart=always
RestartSec=60

# Output to syslog
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=matrix-dimension

# User & group to run service as
User=synapse
Group=synapse

[Install]
WantedBy=default.target
