This commit is contained in:
@@ -4,13 +4,13 @@ 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
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user