diff options
Diffstat (limited to 'support/systemd/peertube.service')
-rw-r--r-- | support/systemd/peertube.service | 7 |
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] |
6 | Type=simple | 6 | Type=simple |
7 | Environment=NODE_ENV=production | 7 | Environment=NODE_ENV=production |
8 | User=myuser | 8 | Environment=NODE_CONFIG_DIR=/home/peertube/config |
9 | Group=myuser | 9 | User=peertube |
10 | Group=peertube | ||
10 | ExecStart=/usr/bin/npm start | 11 | ExecStart=/usr/bin/npm start |
11 | WorkingDirectory=/path/to/peertube | 12 | WorkingDirectory=/home/peertube/peertube-latest |
12 | StandardOutput=syslog | 13 | StandardOutput=syslog |
13 | StandardError=syslog | 14 | StandardError=syslog |
14 | SyslogIdentifier=peertube | 15 | SyslogIdentifier=peertube |