X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fmysql%2Fconfigure.sh;h=cf8e41dcd97859da1555afc77ef5a82890ced26e;hp=4dcef579bbe45fc9f4b78fce6bd5feb121a47b67;hb=9655fd306f6c9b4741af7e355867e1c0c5f65728;hpb=9a47c2d3c560e4b03c0672da32d92d3b582fab14 diff --git a/etc/sv/mysql/configure.sh b/etc/sv/mysql/configure.sh index 4dcef57..cf8e41d 100644 --- a/etc/sv/mysql/configure.sh +++ b/etc/sv/mysql/configure.sh @@ -20,7 +20,7 @@ rule adduser mysql-data \ --system sudo usermod --home "$home" mysql sudo adduser mysql mysql-data -sudo install -d -m 751 -o mysql -g mysql \ +sudo install -d -m 755 -o mysql -g mysql \ "$home" \ "$home"/bin sudo rm -rf /etc/mysql @@ -43,9 +43,9 @@ if sudo test ! -d "$home"/data --no-defaults fi -sudo find "$tool"/etc/postgresql/bin/ -type f -perm /+x -exec \ +sudo find "$tool"/etc/mysql/bin/ -type f -perm /+x -exec \ install -m 755 -o root -g root \ - -t /home/postgresql/bin/ {} + + -t /home/mysql/bin/ {} + sudo ln -fns \ ../sv/"$sv" \