openvibers/openvibe.markets deploysystemdopenvibe-markets.service

openvibe-markets.service

main 528 B · 24 lines · plaintext

1[Unit]
2Description=OpenVibe.Markets
3After=network.target
4[Service]
5Type=simple
6User=ubuntu
7Group=ubuntu
8WorkingDirectory=/opt/openvibe.markets
9EnvironmentFile=/etc/openvibe/markets.env
10Environment=NODE_ENV=production
11Environment=PORT=5294
12Environment=PATH=/usr/local/bin:/usr/bin:/bin
13ExecStart=/usr/bin/env node /opt/openvibe.markets/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