diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-20 20:34:41 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-20 20:34:41 +0200 |
commit | 9e580054399e3d40b0cc366afc80ceb7426ad590 (patch) | |
tree | 01e8fe24db8960380f14b38ef89890ec2cecbac9 | |
parent | b632e9049fccea12c016556cfef3ab621aa683d2 (diff) | |
download | PeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.tar.gz PeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.tar.zst PeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.zip |
Update systemd service template
-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 |