Initial commit
This commit is contained in:
15
server/deighton-ar.service
Normal file
15
server/deighton-ar.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Deighton Service
|
||||
After=rabbitmq-server.service mongod.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ubuntu
|
||||
Group=ubuntu
|
||||
WorkingDirectory=/home/ubuntu/deighton-ar/server
|
||||
Environment='NODE_ENV=production'
|
||||
ExecStart=/usr/bin/node server/index.js
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user