Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreapollastri committed Dec 18, 2021
1 parent 5eca1f7 commit a101bf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ echo "${bggreen}${black}${bold}"
echo "Last steps..."
echo "${reset}"
sleep 1s
sudo cp /bin/bash /bin/rbash

sudo chown www-data:cipi -R /var/www/html
sudo echo 'DefaultStartLimitIntervalSec=1s' >> /usr/lib/systemd/system/[email protected]
sudo echo 'DefaultStartLimitBurst=50' >> /usr/lib/systemd/system/[email protected]
sudo echo 'StartLimitBurst=0' >> /usr/lib/systemd/system/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion storage/app/cipi/newsite.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

BASE_PATH=
USER_SHELL=/bin/rbash
USER_SHELL=/bin/bash

while [ -n "$1" ] ; do
case $1 in
Expand Down
2 changes: 1 addition & 1 deletion storage/app/cipi/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ echo "Last steps..."
echo "${reset}"
sleep 1s

sudo cp /bin/bash /bin/rbash
sudo chown www-data:cipi -R /var/www/html
sudo echo 'StartLimitBurst=0' >> /usr/lib/systemd/system/[email protected]
sudo systemctl daemon-reload

Expand Down

0 comments on commit a101bf6

Please sign in to comment.