Skip to content

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

Update systemd service template

Chocobozzz9e580054399e
diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts
index 5b8d21f70d..bbf135fa11 100644
--- a/server/helpers/utils.ts
+++ b/server/helpers/utils.ts
@@ -23,7 +23,7 @@ function createEmptyCallback () {
}
interface FormatableToJSON {
- toFormatedJSON()
+ toFormatedJSON ()
}
function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) {
diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service
index 8aaa2e6e32..1e3378f772 100644
--- a/support/systemd/peertube.service
+++ b/support/systemd/peertube.service
@@ -6,7 +6,7 @@ Type=simple
Environment=NODE_ENV=production
User=myuser
Group=myuser
-ExecStart=/usr/bin/node server
+ExecStart=/usr/bin/npm start
WorkingDirectory=/path/to/peertube
StandardOutput=syslog
StandardError=syslog