webio-node/initscript/systemd/webio.service
2017-03-24 16:14:30 +08:00

11 lines
191 B
Desktop File

[Unit]
Description=JCNet WebIO
[Service]
ExecStart=/usr/bin/node /usr/local/node/webio/app.js
Restart=always
User=root
Environment="NODE_ENV=production"
[Install]
WantedBy=multi-user.target