nextcloud/webservice/update-htaccess.sh
2017-09-07 17:43:00 +02:00

6 lines
135 B
Bash

#!/bin/bash
[ -f "/var/www/html/config/config.php" ] || exit 0
cd /var/www/html
sudo -u www-data php occ maintenance:update:htaccess