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

15 lines
310 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 ${config['install_dir']}/build/app/index.js
WorkingDirectory=${config['install_dir']}
Restart=on-failure
[Install]
WantedBy=multi-user.target