X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fsystemd%2Fpeertube.service;h=00d66b917f7b5d81eeb15477ae937c2e0c9bf547;hb=93e3f662b5b17ae1b2f284616bb77d58e7ce4700;hp=cf4e7b417a5027f9e9020740631b533908c15f96;hpb=a42294c5edbdea3075c8defc03ba2cb73e0d86fc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service index cf4e7b417..00d66b917 100644 --- a/support/systemd/peertube.service +++ b/support/systemd/peertube.service @@ -8,10 +8,8 @@ Environment=NODE_ENV=production Environment=NODE_CONFIG_DIR=/var/www/peertube/config User=peertube Group=peertube -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/node dist/server WorkingDirectory=/var/www/peertube/peertube-latest -StandardOutput=syslog -StandardError=syslog SyslogIdentifier=peertube Restart=always