This commit is contained in:
@@ -4,11 +4,11 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=www-data
|
User=root
|
||||||
WorkingDirectory=/root/repos/music-jeopardy
|
WorkingDirectory=/root/repos/music-jeopardy
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
Environment=REALTIME_PORT=8787
|
Environment=REALTIME_PORT=8787
|
||||||
ExecStart=/usr/bin/npm run realtime:server
|
ExecStart=/usr/bin/npm --prefix /root/repos/music-jeopardy run realtime:server
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user