From 9e580054399e3d40b0cc366afc80ceb7426ad590 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 20 Jun 2017 20:34:41 +0200 Subject: [PATCH] Update systemd service template --- server/helpers/utils.ts | 2 +- 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 () { } 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 -- 2.41.0