Directly use node in systemd service

This commit is contained in:
Chocobozzz 2021-03-23 09:41:16 +01:00
parent 6b1ef95699
commit ec9bd7f0ae
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -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