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