Changeset dd7f574


Ignore:
Timestamp:
08/02/18 15:14:12 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
d0ec78d
Parents:
8c2f7e4
Message:

prevent empty config

Location:
npl/commonservers/mysql_conf
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • npl/commonservers/mysql_conf/mysql_conf.build

    r8c2f7e4 rdd7f574  
    1 6442
     16443
  • npl/commonservers/mysql_conf/mysql_conf.md5

    r8c2f7e4 rdd7f574  
    1 ed2e0433c05242e22cd2fa031a556c25  ./mysql_conf.pkg
     174082c49343deb4d0af991b4a1c7a359  ./mysql_conf.pkg
    2238ab3065110499ebc384deebe76a9da9  ./mysql_conf.SlackBuild
    3 0123b1187a5526119b4d36ecea9d4cdd  ./mysql_conf.SlackBuild.log.gz
     30d375bc3da8e5853e8235797f40d0556  ./mysql_conf.SlackBuild.log.gz
    444b6cf19fed7e102daf3e60780399c836  ./root/etc/my.cnf
    55b00b79aeb0b64c0787c96fb8bce82d23  ./root/etc/postinst.d/post.mysqld
    662ae13d52470526326927342b5cbde359  ./root/sbin/syn3-mysqlcreate
    77536c355b38124e86e8994174b9e44e8f  ./root/sbin/syn3-mysqlfix
    8 e6f69fae45ccf7ca92fbd77cdad0f918  ./root/service/mysql/run
     87b938fa7790c0d34b38e658c8996ddc0  ./root/service/mysql/run
    99cc3fad603c6a4991c77828a9df0f00fb  ./root/service/mysql/start
    1010a498a8880792ac42227f8b74c791132e  ./root/service/mysql/stop
  • npl/commonservers/mysql_conf/root/service/mysql/run

    r8c2f7e4 rdd7f574  
    1919fi
    2020
    21 sed "s/^innodb_buffer_pool_size.*/innodb_buffer_pool_size = "$MEM_POOL"K/g" -i /etc/my.cnf
     21#make the config update atomic. (it happend more then once that during a crash/reset the config file ended up zero bytes )
     22cat /etc/my.cnf | sed "s/^innodb_buffer_pool_size.*/innodb_buffer_pool_size = "$MEM_POOL"K/g" > /etc/my.cnf.tmp
     23sync
     24mv /etc/my.cnf.tmp /etc/my.cnf
    2225
    2326cd /
Note: See TracChangeset for help on using the changeset viewer.