Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Directly use node in systemd service

Chocobozzzec9bd7f0aed5
diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service
index cf4e7b417a..bdeb76b518 100644
--- a/support/systemd/peertube.service
+++ b/support/systemd/peertube.service
@@ -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