keep my_root as root:root
This commit is contained in:
parent
a2d1797d0f
commit
32f2f707cc
|
@ -120,8 +120,9 @@ set -e
|
||||||
source ./installer/my-user-my-group.sh
|
source ./installer/my-user-my-group.sh
|
||||||
echo "User $my_user Group $my_group"
|
echo "User $my_user Group $my_group"
|
||||||
|
|
||||||
$sudo_cmd chown -R $my_user:$my_group $my_tmp
|
$sudo_cmd chown -R $my_user:$my_group $my_tmp/*
|
||||||
$sudo_cmd chown root:root $my_tmp/*
|
$sudo_cmd chown root:root $my_tmp/*
|
||||||
|
$sudo_cmd chown root:root $my_tmp
|
||||||
rsync -a $my_tmp/ $my_root/
|
rsync -a $my_tmp/ $my_root/
|
||||||
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
|
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
|
||||||
source ./installer/install-system-service.sh
|
source ./installer/install-system-service.sh
|
||||||
|
|
Loading…
Reference in New Issue