ma deployment/owncloud: owncloud -> nextcloud
This commit is contained in:
parent
5791ac969b
commit
3beadb0c52
|
@ -23,9 +23,9 @@ let
|
||||||
in {
|
in {
|
||||||
system.activationScripts."prepare-nextcloud-${domain}" = ''
|
system.activationScripts."prepare-nextcloud-${domain}" = ''
|
||||||
if test ! -e ${root} ;then
|
if test ! -e ${root} ;then
|
||||||
echo "copying latest ${pkgs.owncloud.name} release to ${root}"
|
echo "copying latest ${pkgs.nextcloud.name} release to ${root}"
|
||||||
mkdir -p $(dirname "${root}")
|
mkdir -p $(dirname "${root}")
|
||||||
cp -r ${pkgs.owncloud} "${root}"
|
cp -r ${pkgs.nextcloud} "${root}"
|
||||||
chown -R nginx:nginx "${root}"
|
chown -R nginx:nginx "${root}"
|
||||||
chmod 770 "${root}"
|
chmod 770 "${root}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue