diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index 5b8d21f70..bbf135fa1 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts @@ -23,7 +23,7 @@ function createEmptyCallback () { } interface FormatableToJSON { - toFormatedJSON() + toFormatedJSON () } function getFormatedObjects (objects: T[], objectsTotal: number) { diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service index 8aaa2e6e3..1e3378f77 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