mirror of https://github.com/Chocobozzz/PeerTube
Directly use node in systemd service
parent
6b1ef95699
commit
ec9bd7f0ae
|
@ -8,7 +8,7 @@ Environment=NODE_ENV=production
|
|||
Environment=NODE_CONFIG_DIR=/var/www/peertube/config
|
||||
User=peertube
|
||||
Group=peertube
|
||||
ExecStart=/usr/bin/npm start
|
||||
ExecStart=/usr/bin/node dist/server
|
||||
WorkingDirectory=/var/www/peertube/peertube-latest
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
|
Loading…
Reference in New Issue