Mettre à jour 'peertube/rootfs/usr/local/bin/startup'
This commit is contained in:
parent
6af112824f
commit
cba5cb2219
|
@ -19,11 +19,8 @@ sed -i -e 's|<body_size>|'${BODY_SIZE}'|' /etc/nginx/sites-enabled/peertube.conf
|
|||
|
||||
chown -R $UID:$GID ./
|
||||
|
||||
|
||||
npm run help
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
su - peertube -c "NODE_ENV=production npm start"
|
||||
su - peertube -c "cd /PeerTube && NODE_ENV=production npm start"
|
||||
else
|
||||
su - peertube -c "NODE_ENV=production npm $#"
|
||||
su - peertube -c "cd /PeerTube && NODE_ENV=production npm $#"
|
||||
fi
|
||||
|
|
Reference in New Issue