12 lines
261 B
Plaintext
12 lines
261 B
Plaintext
{
|
|
# Rename mysqld service entry to mariadb
|
|
|
|
my $mysqld = $DB->get('mysqld') or return;
|
|
my $mariadb = $DB->get('mariadb') ||
|
|
$DB->new_record('mariadb', { type => 'service' });
|
|
|
|
$mariadb->merge_props($mysqld->props);
|
|
$mysqld->delete;
|
|
|
|
}
|