debian: Copy the contents of the old ~cloud directory to the new location

This commit is contained in:
Wido den Hollander 2013-03-12 10:24:44 +01:00
parent c98244f75d
commit aee6fc3bce

View File

@ -20,7 +20,7 @@ if [ "$1" = configure ]; then
if ! getent passwd cloud >/dev/null; then
adduser --quiet --system --group --no-create-home --home /var/lib/cloudstack/management cloud
else
usermod -m /var/lib/cloudstack/management cloud
usermod -m -d /var/lib/cloudstack/management cloud
fi
chown cloud /var/log/cloudstack/management
fi
fi