summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud-initscript.post-install
blob: ca60372c10335cf41a78e044ba46cbb2284c9b6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# It's not needed to be writable for www-data group when running with php-fpm.
for dir in /etc/nextcloud \
	/etc/nextcloud/config.php \
	/var/lib/nextcloud/data \
	/var/lib/nextcloud/appstore
do
	chmod g-w $dir
done

cat <<"EOF"
*
* Point your web server to /run/nextcloud/fastcgi.sock and start
* Nextcloud with `service nextcloud start`. You can modify php-fpm
* settings in /etc/php/php-fpm.d/nextcloud.conf.
*
EOF

exit 0