webio-node/initscript/systemd/webio.service

11 lines
186 B
SYSTEMD
Raw Normal View History

2017-03-23 10:41:19 +00:00
[Unit]
Description=JCNet WebIO
[Service]
ExecStart=/usr/bin/node /home/node/webio/app.js
Restart=always
User=root
Environment="NODE_ENV=production"
[Install]
WantedBy=multi-user.target