Init multiplayer
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 28s
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 28s
This commit is contained in:
16
deploy/systemd/music-jeopardy-realtime.service
Normal file
16
deploy/systemd/music-jeopardy-realtime.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Music Jeopardy Realtime Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
WorkingDirectory=/repos/music-jeopardy
|
||||
Environment=NODE_ENV=production
|
||||
Environment=REALTIME_PORT=8787
|
||||
ExecStart=/usr/bin/npm run realtime:server
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user