Directly use node in systemd service
This commit is contained in:
parent
6b1ef95699
commit
ec9bd7f0ae
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue