diff --git a/README.md b/README.md index 6e29457..46f078b 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,10 @@ Rsync ohne Rechteübernahme (gut für gemountete Laufwerke SAMBA) ``` sudo rsync -rltv --exclude '/storage/var/lib/nextcloud/*' /storage/ /mnt/backup-storage/ ``` +Checken ob ein Webservice in localhost läuft. Bei Ausgabe `200` ist alles OK: +``` +curl -sL -w "%{http_code}\\n" "http://0.0.0.0:9090" -o /dev/null +``` ## Gute Quellen * Bash-Skripte: https://wiki.ubuntuusers.de/Shell/Bash-Skripting-Guide_für_Anfänger/ * Cronjobs: https://www.stetic.com/developer/cronjob-linux-tutorial-und-crontab-syntax.html