diff options
-rw-r--r-- | server/helpers/utils.ts | 2 | ||||
-rw-r--r-- | support/systemd/peertube.service | 2 |
2 files changed, 2 insertions, 2 deletions
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 () { | |||
23 | } | 23 | } |
24 | 24 | ||
25 | interface FormatableToJSON { | 25 | interface FormatableToJSON { |
26 | toFormatedJSON() | 26 | toFormatedJSON () |
27 | } | 27 | } |
28 | 28 | ||
29 | function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) { | 29 | function getFormatedObjects<U, T extends FormatableToJSON> (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 | |||
6 | Environment=NODE_ENV=production | 6 | Environment=NODE_ENV=production |
7 | User=myuser | 7 | User=myuser |
8 | Group=myuser | 8 | Group=myuser |
9 | ExecStart=/usr/bin/node server | 9 | ExecStart=/usr/bin/npm start |
10 | WorkingDirectory=/path/to/peertube | 10 | WorkingDirectory=/path/to/peertube |
11 | StandardOutput=syslog | 11 | StandardOutput=syslog |
12 | StandardError=syslog | 12 | StandardError=syslog |