Skip to content

Instantly share code, notes, and snippets.

View simonschaufi's full-sized avatar
👨‍💻

Simon Schaufelberger simonschaufi

👨‍💻
View GitHub Profile
@simonschaufi
simonschaufi / update_nextcloud.sh
Created October 26, 2023 10:02
Update nextcloud bash script
#!/usr/bin/env bash
# Console colors: https://dev.to/ifenna__/adding-colors-to-bash-scripts-48g4
# Required settings (adjust as nessesary)
php="/usr/bin/php7.4"
nextcloud_dir="/home/www/nextcloud"
shell_data_dir="/home/nextcloud_data"
# Options: stable, daily, beta, production
@simonschaufi
simonschaufi / update_owncloud_netcup.sh
Created May 5, 2021 21:00
Owncloud update script on netcup server
#!/usr/bin/env bash
# See https://doc.owncloud.org/server/10.5/admin_manual/installation/manual_installation.html#install-owncloud
# Required settings
php="/usr/local/php72/bin/php"
owncloud_dir="/owncloud"
shell_data_dir="/owncloud_data"
# Options: stable, daily, beta, production