15 lines
314 B
SYSTEMD
15 lines
314 B
SYSTEMD
|
[Unit]
|
||
|
Description=Matrix Dimension
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=matrix-support
|
||
|
Group=matrix-support
|
||
|
Environment="NODE_ENV=production"
|
||
|
ExecStart=/usr/bin/node /opt/matrix/matrix-dimension/build/app/index.js
|
||
|
WorkingDirectory=${config['install_dir']}
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|