diff --git a/harden b/harden index 122dde7..179c6d8 100755 --- a/harden +++ b/harden @@ -389,7 +389,7 @@ EOF # For portainer (and watchtower), we will be using the --runtime=runc option to run it with runc because # it doesn't work with runsc as it is not exposing the docker socket to the container # but containers downloaded from it will still use runsc - # Note: If a new install of Portainer is not configured within 5 minutes, + # Note: If a new install of Portainer is not configured within 5 minutes, # it shuts down internally for security reasons but that does not matter since # we reboot after the script is done. sudo -E runuser - secdep -c 'docker run --runtime=runc -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /run/user/$UID/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce' @@ -728,7 +728,7 @@ function main { # If the username is not secdep, reboot the system in 1 minute # We reboot just in case there are any updates that need to be applied # It was not the original intention of the script to reboot the system but it is better to be safe than sorry - # We also wait (for 1 or 3 minutes depending on the user running it) so that the script can finish as we + # We also wait (for 1 or 3 minutes depending on the user running it) so that the script can finish as we # want to see the exit code. if [[ "$USER" != "secdep" ]]; then sudo shutdown -r +3