diff --git a/scripts/mariadb-service-convert b/scripts/mariadb-service-convert index c2cea95c07c..42654f68420 100755 --- a/scripts/mariadb-service-convert +++ b/scripts/mariadb-service-convert @@ -42,7 +42,7 @@ fi [ -n "${open_files}" ] && echo LimitNOFILE=$open_files -[ -n "${core_file_size}" ] && echo LimitCore=$core_file_size +[ -n "${core_file_size}" ] && echo LimitCORE=$core_file_size [[ "${niceness}" -gt 0 ]] && echo Nice=$niceness [ "${TZ}" != "${tz_old}" ] && echo Environment=\"TZ=${TZ}\" @@ -67,13 +67,13 @@ if [[ $want_syslog -eq 1 ]]; then fi if [[ "${flush_caches}" -gt 0 ]]; then - echo ExecStartPre=sync - echo ExecStartPre=sysctl -q -w vm.drop_caches=3 + echo ExecStartPre=/usr/bin/sync + echo ExecStartPre=/usr/sbin/sysctl -q -w vm.drop_caches=3 fi if [[ "${numa_interleave}" -gt 0 ]]; then echo - echo ExecStart=numactl --interleave=all ${cmd} '${MYSQLD_OPTS}' + echo ExecStart=/usr/bin/numactl --interleave=all ${cmd} '${MYSQLD_OPTS}' echo fi