Enabling test server and bug fixes
This commit is contained in:
16
server/deighton-ar-test.service
Normal file
16
server/deighton-ar-test.service
Normal 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
|
||||
Reference in New Issue
Block a user