aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/systemd
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-23 09:00:23 +0100
committerChocobozzz <me@florianbigard.com>2018-01-23 09:00:23 +0100
commit59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6 (patch)
tree84bae36b9953b0369946a686faac1ed6cb5f82da /support/systemd
parente5203ffa1260ee03f0f84ef6b65d57ccad5ee695 (diff)
downloadPeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.tar.gz
PeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.tar.zst
PeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.zip
Peertube home in /var/www instead of /home
Diffstat (limited to 'support/systemd')
-rw-r--r--support/systemd/peertube.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service
index 03ead9fbd..047ce7e56 100644
--- a/support/systemd/peertube.service
+++ b/support/systemd/peertube.service
@@ -5,11 +5,11 @@ After=network.target
5[Service] 5[Service]
6Type=simple 6Type=simple
7Environment=NODE_ENV=production 7Environment=NODE_ENV=production
8Environment=NODE_CONFIG_DIR=/home/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/npm start
12WorkingDirectory=/home/peertube/peertube-latest 12WorkingDirectory=/var/www/peertube/peertube-latest
13StandardOutput=syslog 13StandardOutput=syslog
14StandardError=syslog 14StandardError=syslog
15SyslogIdentifier=peertube 15SyslogIdentifier=peertube