Fix TypeScript build errors
This commit is contained in:
19
templates/systemd/dbis-api.service
Normal file
19
templates/systemd/dbis-api.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=DBIS Core API Server
|
||||
After=network.target postgresql.service redis.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/dbis-core
|
||||
Environment=NODE_ENV=production
|
||||
EnvironmentFile=/opt/dbis-core/.env
|
||||
ExecStart=/usr/bin/node dist/index.js
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user