bundlewrap/bundles/matrix-dimension/files/matrix-dimension.service

15 lines
314 B
SYSTEMD
Raw Normal View History

[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