Add service file and pin for map

This commit is contained in:
John Lyon-Smith
2018-03-15 18:09:06 -07:00
parent 7bd5c64f21
commit 7311239b4e
3 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=Deighton Service
Description=Deighton AR Service
After=rabbitmq-server.service mongod.service redis-server.service
[Service]
@@ -8,7 +8,7 @@ User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/deighton-ar/server
Environment='NODE_ENV=production'
ExecStart=/usr/bin/node server/index.js
ExecStart=/usr/bin/node src/server.js
Restart=on-abort
[Install]