aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-20 20:34:41 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-20 20:34:41 +0200
commit9e580054399e3d40b0cc366afc80ceb7426ad590 (patch)
tree01e8fe24db8960380f14b38ef89890ec2cecbac9
parentb632e9049fccea12c016556cfef3ab621aa683d2 (diff)
downloadPeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.tar.gz
PeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.tar.zst
PeerTube-9e580054399e3d40b0cc366afc80ceb7426ad590.zip
Update systemd service template
-rw-r--r--server/helpers/utils.ts2
-rw-r--r--support/systemd/peertube.service2
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
25interface FormatableToJSON { 25interface FormatableToJSON {
26 toFormatedJSON() 26 toFormatedJSON ()
27} 27}
28 28
29function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) { 29function 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
6Environment=NODE_ENV=production 6Environment=NODE_ENV=production
7User=myuser 7User=myuser
8Group=myuser 8Group=myuser
9ExecStart=/usr/bin/node server 9ExecStart=/usr/bin/npm start
10WorkingDirectory=/path/to/peertube 10WorkingDirectory=/path/to/peertube
11StandardOutput=syslog 11StandardOutput=syslog
12StandardError=syslog 12StandardError=syslog