From ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Mar 2021 09:41:16 +0100 Subject: Directly use node in systemd service --- support/systemd/peertube.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/systemd/peertube.service') diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service index cf4e7b417..bdeb76b51 100644 --- a/support/systemd/peertube.service +++ b/support/systemd/peertube.service @@ -8,7 +8,7 @@ Environment=NODE_ENV=production Environment=NODE_CONFIG_DIR=/var/www/peertube/config User=peertube Group=peertube -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/node dist/server WorkingDirectory=/var/www/peertube/peertube-latest StandardOutput=syslog StandardError=syslog -- cgit v1.2.3