mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-01 14:42:14 +00:00
25 lines
480 B
Desktop File
25 lines
480 B
Desktop File
[Unit]
|
|
Description=Integrations server for Matrix.org
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/npm run start:app
|
|
WorkingDirectory=/home/matrix-dimension/git/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=matrix-dimension
|
|
Group=matrix-dimension
|
|
|
|
[Install]
|
|
WantedBy=default.target
|