Enabling test server and bug fixes

This commit is contained in:
John Lyon-Smith
2018-04-20 17:40:55 -07:00
parent acfbc52cf9
commit f7c73ee277
15 changed files with 399 additions and 126 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Deighton AR Test 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'
Environment='NODE_APP_INSTANCE=test'
ExecStart=/usr/bin/node dist/server.js
Restart=on-abort
[Install]
WantedBy=multi-user.target