diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-23 09:41:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9 (patch) | |
tree | 564a1800e290a6d60cc701609773d670226fa57b | |
parent | 6b1ef956993ff294534281a35dd3b9ce5538a7b1 (diff) | |
download | PeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.tar.gz PeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.tar.zst PeerTube-ec9bd7f0aed5b69d41c0dfe0422b9ac7addcb7e9.zip |
Directly use node in systemd service
-rw-r--r-- | support/systemd/peertube.service | 2 |
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 | |||
8 | Environment=NODE_CONFIG_DIR=/var/www/peertube/config | 8 | Environment=NODE_CONFIG_DIR=/var/www/peertube/config |
9 | User=peertube | 9 | User=peertube |
10 | Group=peertube | 10 | Group=peertube |
11 | ExecStart=/usr/bin/npm start | 11 | ExecStart=/usr/bin/node dist/server |
12 | WorkingDirectory=/var/www/peertube/peertube-latest | 12 | WorkingDirectory=/var/www/peertube/peertube-latest |
13 | StandardOutput=syslog | 13 | StandardOutput=syslog |
14 | StandardError=syslog | 14 | StandardError=syslog |