aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/systemd
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-15 17:56:58 +0100
committerChocobozzz <me@florianbigard.com>2018-01-15 18:07:08 +0100
commitd2000ca6e7fa77758d4f811e4a8af11108d2655d (patch)
treed40860d17f33eacd33f79780fab08ecb7e6e46a7 /support/systemd
parent53733ec2abd4b7588c85cdd37824b0082b46f188 (diff)
downloadPeerTube-d2000ca6e7fa77758d4f811e4a8af11108d2655d.tar.gz
PeerTube-d2000ca6e7fa77758d4f811e4a8af11108d2655d.tar.zst
PeerTube-d2000ca6e7fa77758d4f811e4a8af11108d2655d.zip
Update production guide
Use release that already contains build files. It requires a specific directories tree but I think it would be fine.
Diffstat (limited to 'support/systemd')
-rw-r--r--support/systemd/peertube.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service
index b9d01f235..03ead9fbd 100644
--- a/support/systemd/peertube.service
+++ b/support/systemd/peertube.service
@@ -5,10 +5,11 @@ After=network.target
5[Service] 5[Service]
6Type=simple 6Type=simple
7Environment=NODE_ENV=production 7Environment=NODE_ENV=production
8User=myuser 8Environment=NODE_CONFIG_DIR=/home/peertube/config
9Group=myuser 9User=peertube
10Group=peertube
10ExecStart=/usr/bin/npm start 11ExecStart=/usr/bin/npm start
11WorkingDirectory=/path/to/peertube 12WorkingDirectory=/home/peertube/peertube-latest
12StandardOutput=syslog 13StandardOutput=syslog
13StandardError=syslog 14StandardError=syslog
14SyslogIdentifier=peertube 15SyslogIdentifier=peertube