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

This commit is contained in:
Dryusdan 2017-11-03 09:45:09 +00:00
parent e47849a741
commit 5af6bb581b
1 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,6 @@
#addgroup --gid ${GID} peertube && adduser --disabled-password --shell /bin/sh --gid ${GID} --uid ${UID} --gecos "" peertube
groupadd -g ${GID} peertube && useradd -u ${UID} -M -g ${GID} peertube
cd /PeerTube
sed -i -e 's|<https>|'${HTTPS}'|' \
-e 's|<hostname>|'${HOSTNAME}'|' \
-e 's|<port>|'${PORT}'|' \
@ -21,6 +19,9 @@ sed -i -e 's|<body_size>|'${BODY_SIZE}'|' /etc/nginx/sites-enabled/peertube.conf
chown -R $UID:$GID ./
pwd
ls -la
#npm start
if [ $# -eq 0 ]; then