From: Chocobozzz Date: Tue, 20 Jun 2017 18:34:41 +0000 (+0200) Subject: Update systemd service template X-Git-Tag: v0.0.1-alpha~401 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e580054399e3d40b0cc366afc80ceb7426ad590;p=oweals%2Fpeertube.git Update systemd service template --- 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