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

This commit is contained in:
Dryusdan 2017-11-03 10:12:46 +00:00
parent cba5cb2219
commit 8d071852ab
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ sed -i -e 's|<https>|'${HTTPS}'|' \
sed -i -e 's|<body_size>|'${BODY_SIZE}'|' /etc/nginx/sites-enabled/peertube.conf
chown -R $UID:$GID ./
nginx
if [ $# -eq 0 ]; then
su - peertube -c "cd /PeerTube && NODE_ENV=production npm start"
else