Mettre à jour 'peertube/rootfs/usr/local/bin/startup'

This commit is contained in:
Dryusdan 2017-11-03 09:49:06 +00:00
parent 5af6bb581b
commit 6af112824f
1 changed files with 2 additions and 4 deletions

View File

@ -19,10 +19,8 @@ sed -i -e 's|<body_size>|'${BODY_SIZE}'|' /etc/nginx/sites-enabled/peertube.conf
chown -R $UID:$GID ./
pwd
ls -la
#npm start
npm run help
if [ $# -eq 0 ]; then
su - peertube -c "NODE_ENV=production npm start"