mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #224 from watercrossing/chdirFix
Changed chdir to cd for changing directories
This commit is contained in:
commit
4016cfd8b3
10 changed files with 10 additions and 10 deletions
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
|
@ -23,6 +23,6 @@ script
|
||||||
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
LATEX_PATH=/usr/local/texlive/2014/bin/x86_64-linux
|
||||||
|
|
||||||
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
echo $$ > /var/run/sharelatex-$SERVICE.pid
|
||||||
chdir /var/www/sharelatex/$SERVICE
|
cd /var/www/sharelatex/$SERVICE
|
||||||
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
exec sudo -u $USER -g $GROUP env SHARELATEX_CONFIG=$SHARELATEX_CONFIG NODE_ENV=production PATH=$PATH:$LATEX_PATH $NODE app.js >> /var/log/sharelatex/$SERVICE.log 2>&1
|
||||||
end script
|
end script
|
Loading…
Reference in a new issue