X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fsystemd%2Fpeertube.service;h=bdeb76b5186815b350a61129efa6e255addad27b;hb=c215e627b575d2c4085ccb222f4ca8d0237b7552;hp=cf4e7b417a5027f9e9020740631b533908c15f96;hpb=f0c0c0abd88d0177f8be769f12d5affcacd934e8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service index cf4e7b417..bdeb76b51 100644 --- a/support/systemd/peertube.service +++ b/support/systemd/peertube.service @@ -8,7 +8,7 @@ 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