aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/systemd
diff options
context:
space:
mode:
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