webio-node/initscript/systemd/webio.service
2017-03-23 18:41:19 +08:00

11 lines
186 B
Desktop File

[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