openvibers/openvibe.finance deploysystemdopenvibe-finance.service

openvibe-finance.service

main 565 B · 24 lines · plaintext

1[Unit]
2Description=OpenVibe.Finance
3After=network.target postgresql.service pgbouncer.service
4[Service]
5Type=simple
6User=ubuntu
7Group=ubuntu
8WorkingDirectory=/opt/openvibe.finance
9EnvironmentFile=/etc/openvibe/finance.env
10Environment=NODE_ENV=production
11Environment=PORT=5292
12Environment=PATH=/usr/local/bin:/usr/bin:/bin
13ExecStart=/usr/bin/env node /opt/openvibe.finance/server/index.js
14Restart=always
15RestartSec=5
16KillSignal=SIGTERM
17TimeoutStopSec=15
18NoNewPrivileges=true
19PrivateTmp=true
20ProtectSystem=strict
21ProtectHome=true
22[Install]
23WantedBy=multi-user.target
24