aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/systemd/peertube.service
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-23 09:41:16 +0100
committerChocobozzz <me@florianbigard.com>2021-03-24 18:18:41 +0100
commitec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9 (patch)
tree564a1800e290a6d60cc701609773d670226fa57b /support/systemd/peertube.service
parent6b1ef956993ff294534281a35dd3b9ce5538a7b1 (diff)
downloadPeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.tar.gz
PeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.tar.zst
PeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.zip
Directly use node in systemd service
Diffstat (limited to 'support/systemd/peertube.service')
-rw-r--r--support/systemd/peertube.service2
1 files changed, 1 insertions, 1 deletions
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
8Environment=NODE_CONFIG_DIR=/var/www/peertube/config 8Environment=NODE_CONFIG_DIR=/var/www/peertube/config
9User=peertube 9User=peertube
10Group=peertube 10Group=peertube
11ExecStart=/usr/bin/npm start 11ExecStart=/usr/bin/node dist/server
12WorkingDirectory=/var/www/peertube/peertube-latest 12WorkingDirectory=/var/www/peertube/peertube-latest
13StandardOutput=syslog 13StandardOutput=syslog
14StandardError=syslog 14StandardError=syslog