Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Example systemd equivalent for my own notes, because I was fucking around with it
- [Unit]
- Description=node.js server
- [Service]
- User=platform-admin
- Environment=HOME=/imvu/platform/src HOME_PATH=/imvu/platform/src
- ExecStart=/usr/bin/node /imvu/platform/src/server.js %i
- StandardOutput=syslog
- SyslogIdentifier=%p (%i)
- Restart=always
- # Install eight workers by default on service enable
- [Install]
- Alias=node-worker@8080.service node-worker@8081.service node-worker@8082.service node-worker@8083.service node-worker@8084.service node-worker@8085.service node-worker@8086.service node-worker@8087.service
Add Comment
Please, Sign In to add comment