X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fsystemd%2Fpeertube.service;h=03ead9fbdab15b8ba6860fa63653fee7b925afd1;hb=d2000ca6e7fa77758d4f811e4a8af11108d2655d;hp=b9d01f235ea7c2243b3ab5d045f0d933171d7fc5;hpb=53733ec2abd4b7588c85cdd37824b0082b46f188;p=github%2FChocobozzz%2FPeerTube.git 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 [Service] Type=simple Environment=NODE_ENV=production -User=myuser -Group=myuser +Environment=NODE_CONFIG_DIR=/home/peertube/config +User=peertube +Group=peertube ExecStart=/usr/bin/npm start -WorkingDirectory=/path/to/peertube +WorkingDirectory=/home/peertube/peertube-latest StandardOutput=syslog StandardError=syslog SyslogIdentifier=peertube