Skip to content

Commit

Permalink
fix: do not run as root
Browse files Browse the repository at this point in the history
  • Loading branch information
esoadamo committed Feb 2, 2024
1 parent 60e57c4 commit e9dfefe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kleobis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ git fetch origin
git reset --hard origin/master

make clean
make all -j 1 # don't use higher -j than 1, otherwise race condition
# Run as www-data to prevent vulnerabilities possible spread
sudo -Hu www-data make all -j 1 && # don't use higher -j than 1, otherwise race condition
curl --silent https://status.ahlava.cz/api/push/u44pwYohQ2 > /dev/null

0 comments on commit e9dfefe

Please sign in to comment.