Since I moved server, I left behind my #Devuan install to restart from a #Debian 11 offered by my hosting provider which I immediately upgraded to Debian 12. This means I am back to #systemd land, and I'm already annoyed with it.
See, service mariadb [action]
calls mariadb-admin
that requires password-less root access (??) to localhost to do anything, which I don't allow for obvious security reasons.
On the other hand, systemctl [action] mariadb.service
doesn't rely on mariadb-admin
, but there's no graceful reload available either. 🤷♂️
I already miss /etc/init.d/mysqld [action]
.
like this
herve_02
•Hypolite Petovan likes this.
lbky
•No idea what the init script did for reload, but you can add a drop in for the mariadb service file, e.g. assuming the init script sent a SIGHUP to the PID of mariadb you would write
[Service]ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
to /etc/systems/system/mariadb.service.d/reload.conf
Just guessing the name of the service, more info about ExecReload in the systemd.service man page and about drop in config in systemd.unit
Hypolite Petovan likes this.
Hypolite Petovan
•