/usr/lib/systemd/system
NameSizeModeActions
basic.target.wants/-0755rm
dbus.target.wants/-0755rm
default.target.wants/-0755rm
graphical.target.wants/-0755rm
initrd.target.wants/-0755rm
local-fs.target.wants/-0755rm
mariadb@bootstrap.service.d/-0755rm
multi-user.target.wants/-0755rm
remote-fs.target.wants/-0755rm
rescue.target.wants/-0755rm
runlevel1.target.wants/-0755rm
runlevel2.target.wants/-0755rm
runlevel3.target.wants/-0755rm
runlevel4.target.wants/-0755rm
runlevel5.target.wants/-0755rm
sockets.target.wants/-0755rm
sw-engine.service.d/-0755rm
sysinit.target.wants/-0755rm
syslog.target.wants/-0755rm
system-update.target.wants/-0755rm
systemd-udev-trigger.service.d/-0755rm
timers.target.wants/-0755rm
user-.slice.d/-0755rm
aibolit-resident.service9470644editdlrm
aibolit-resident.socket2830644editdlrm
arp-ethers.service2750644editdlrm
atd.service2220644editdlrm
auditd.service18520644editdlrm
auth-rpcgss-module.service6280644editdlrm
autovt@.service19750644editdlrm
basic.target9560644editdlrm
bluetooth.service7070644editdlrm
bluetooth.target4190644editdlrm
boot-complete.target4550644editdlrm
btattach-bcm@.service1320644editdlrm
chrony-dnssrv@.service2090644editdlrm
chrony-dnssrv@.timer1380644editdlrm
chrony-wait.service5000644editdlrm
chronyd.service5510644editdlrm
cloud-config.service5550644editdlrm
cloud-config.target8830644editdlrm
cloud-final.service7650644editdlrm
cloud-init-hotplugd.service9930644editdlrm
cloud-init-hotplugd.socket4020644editdlrm
cloud-init-local.service8550644editdlrm
cloud-init.service7020644editdlrm
cloud-init.target5170644editdlrm
console-getty.service10820644editdlrm
container-getty@.service12630644editdlrm
cpupower.service2940644editdlrm
crond.service3560644editdlrm
cryptsetup-pre.target4650644editdlrm
cryptsetup.target4120644editdlrm
csf.service2700644editdlrm
ctrl-alt-del.target5830644editdlrm
dbus-org.freedesktop.hostname1.service11020644editdlrm
dbus-org.freedesktop.locale1.service10710644editdlrm
dbus-org.freedesktop.login1.service13830644editdlrm
dbus-org.freedesktop.portable1.service9870644editdlrm
dbus-org.freedesktop.timedate1.service10420644editdlrm
dbus.service3800644editdlrm
dbus.socket1020644editdlrm
debug-shell.service10550644editdlrm
default.target5980644editdlrm
dev-hugepages.mount7500644editdlrm
dev-mqueue.mount6650644editdlrm
dnf-makecache.service4570644editdlrm
dnf-makecache.timer3200644editdlrm
dnf-system-upgrade-cleanup.service3220644editdlrm
dnf-system-upgrade.service6010644editdlrm
dracut-cmdline.service9040644editdlrm
dracut-initqueue.service8210644editdlrm
dracut-mount.service7930644editdlrm
dracut-pre-mount.service8220644editdlrm
dracut-pre-pivot.service11250644editdlrm
dracut-pre-trigger.service9140644editdlrm
dracut-pre-udev.service9930644editdlrm
dracut-shutdown-onfailure.service3090644editdlrm
dracut-shutdown.service4400644editdlrm
ea-php74-php-fpm.service7160644editdlrm
ea-php82-php-fpm.service7160644editdlrm
ea-php83-php-fpm.service7160644editdlrm
ebtables.service2080644editdlrm
emergency.service8010644editdlrm
emergency.target4710644editdlrm
exit.target5410644editdlrm
final.target4800644editdlrm
firewalld.service6740644editdlrm
fstrim.service960644editdlrm
fstrim.timer2290644editdlrm
fwupd-refresh.service5700644editdlrm
fwupd-refresh.timer1930644editdlrm
fwupd.service14310644editdlrm
garb.service5130644editdlrm
getty-pre.target5060644editdlrm
getty.target5000644editdlrm
getty@.service19750644editdlrm
graphical.target5980644editdlrm
grub-boot-indeterminate.service2630644editdlrm
gssproxy.service4660644editdlrm
halt-local.service6050644editdlrm
halt.target5270644editdlrm
hibernate.target5090644editdlrm
htcacheclean.service3870644editdlrm
httpd.service6080644editdlrm
hybrid-sleep.target5300644editdlrm
import-state.service4410644editdlrm
imunify-agent-proxy.service8160644editdlrm
imunify-agent-proxy.socket2180644editdlrm
imunify-antivirus-sensor.socket6330644editdlrm
imunify-antivirus-user.socket6260644editdlrm
imunify-antivirus.service38430644editdlrm
imunify-antivirus.socket3120644editdlrm
imunify-notifier.service3880644editdlrm
imunify-notifier.socket1890644editdlrm
initrd-cleanup.service6740644editdlrm
initrd-fs.target5930644editdlrm
initrd-parse-etc.service8420644editdlrm
initrd-root-device.target5610644editdlrm
initrd-root-fs.target5660644editdlrm
initrd-switch-root.service5930644editdlrm
initrd-switch-root.target7770644editdlrm
initrd-udevadm-cleanup-db.service7080644editdlrm
initrd.target7630644editdlrm
irqbalance.service4750644editdlrm
kdump.service3880644editdlrm
kexec.target5410644editdlrm
kmod-static-nodes.service7210644editdlrm
kvm_stat.service3680644editdlrm
ldconfig.service6870644editdlrm
lfd.service2260644editdlrm
loadmodules.service3550644editdlrm
local-fs-pre.target4350644editdlrm
local-fs.target5470644editdlrm
man-db-cache-update.service3580644editdlrm
man-db-restart-cache-update.service3010644editdlrm
mariadb-extra.socket6480644editdlrm
mariadb-extra@.socket6750644editdlrm
mariadb.service55280644editdlrm
mariadb.socket6540644editdlrm
mariadb@.service101170644editdlrm
mariadb@.socket6610644editdlrm
mdadm-grow-continue@.service4980644editdlrm
mdadm-last-resort@.service2410644editdlrm
mdadm-last-resort@.timer1790644editdlrm
mdcheck_continue.service5580644editdlrm
mdcheck_continue.timer4000644editdlrm
mdcheck_start.service5100644editdlrm
mdcheck_start.timer4260644editdlrm
mdmon@.service11740644editdlrm
mdmonitor-oneshot.service5520644editdlrm
mdmonitor-oneshot.timer3980644editdlrm
mdmonitor.service3100644editdlrm
messagebus.service3800644editdlrm
microcode.service2840644editdlrm
multi-user.target5320644editdlrm
mysql.service55280644editdlrm
mysqld.service55280644editdlrm
named-setup-rndc.service1210644editdlrm
named.service8590644editdlrm
network-online.target5050644editdlrm
network-pre.target5020644editdlrm
network.target5210644editdlrm
NetworkManager-dispatcher.service6410644editdlrm
NetworkManager-wait-online.service11480644editdlrm
NetworkManager.service13510644editdlrm
nfs-blkmap.service2950644editdlrm
nfs-client.target4130644editdlrm
nfs-convert.service6080644editdlrm
nfs-idmapd.service2220644editdlrm
nfs-mountd.service2870644editdlrm
nfs-server.service9780644editdlrm
nfs-utils.service5670644editdlrm
nfsdcld.service2360644editdlrm
nftables.service3930644editdlrm
nis-domainname.service3780644editdlrm
nscd.service5120644editdlrm
nscd.socket1330644editdlrm
nss-lookup.target5540644editdlrm
nss-user-lookup.target5130644editdlrm
paths.target3940644editdlrm
pdns.service14260644editdlrm
pdns@.service14560644editdlrm
polkit.service1720644editdlrm
poweroff.target5920644editdlrm
printer.target4170644editdlrm
proc-fs-nfsd.mount980644editdlrm
proc-sys-fs-binfmt_misc.automount7450644editdlrm
proc-sys-fs-binfmt_misc.mount6550644editdlrm
qemu-guest-agent.service5340644editdlrm
quotaon.service6170644editdlrm
rc-local.service7710644editdlrm
rdisc.service2080644editdlrm
reboot.target5830644editdlrm
remote-cryptsetup.target5490644editdlrm
remote-fs-pre.target4360644editdlrm
remote-fs.target5220644editdlrm
rescue.service7920644editdlrm
rescue.target4920644editdlrm
rpc-gssd.service2810644editdlrm
rpc-statd-notify.service3870644editdlrm
rpc-statd.service4140644editdlrm
rpcbind.service5440644editdlrm
rpcbind.socket3680644editdlrm
rpcbind.target5400644editdlrm
rpc_pipefs.target800644editdlrm
rsyslog.service9600644editdlrm
runlevel0.target5920644editdlrm
runlevel1.target4920644editdlrm
runlevel2.target5320644editdlrm
runlevel3.target5320644editdlrm
runlevel4.target5320644editdlrm
runlevel5.target5980644editdlrm
runlevel6.target5830644editdlrm
selinux-autorelabel-mark.service4060644editdlrm
selinux-autorelabel.service3010644editdlrm
selinux-autorelabel.target2300644editdlrm
serial-getty@.service14860644editdlrm
shutdown.target4420644editdlrm
sigpwr.target4020644editdlrm
sleep.target4600644editdlrm
slices.target4490644editdlrm
smartcard.target4200644editdlrm
smartd.service3290644editdlrm
sockets.target3960644editdlrm
sound.target4200644editdlrm
sshd-keygen.target1230644editdlrm
sshd-keygen@.service2470644editdlrm
sshd.service4560644editdlrm
sshd.socket1810644editdlrm
sshd@.service3420644editdlrm
sssd-autofs.service4720644editdlrm
sssd-autofs.socket3710644editdlrm
sssd-kcm.service4430644editdlrm
sssd-kcm.socket1860644editdlrm
sssd-nss.service3510644editdlrm
sssd-nss.socket4200644editdlrm
sssd-pac.service4600644editdlrm
sssd-pac.socket3620644editdlrm
sssd-pam-priv.socket4430644editdlrm
sssd-pam.service4810644editdlrm
sssd-pam.socket3910644editdlrm
sssd-ssh.service4600644editdlrm
sssd-ssh.socket3620644editdlrm
sssd-sudo.service4810644editdlrm
sssd-sudo.socket3640644editdlrm
sssd.service7720644editdlrm
stunnel.service2500644editdlrm
stunnel@.service1980644editdlrm
suspend-then-hibernate.target5770644editdlrm
suspend.target5030644editdlrm
sw-engine.service5150644editdlrm
swap.target3930644editdlrm
sys-fs-fuse-connections.mount7950644editdlrm
sys-kernel-config.mount7670644editdlrm
sys-kernel-debug.mount7100644editdlrm
sysinit.target5580644editdlrm
syslog.socket14070644editdlrm
sysstat-collect.service3890644editdlrm
sysstat-collect.timer3250644editdlrm
sysstat-summary.service3690644editdlrm
sysstat-summary.timer3560644editdlrm
sysstat.service4750644editdlrm
system-update-cleanup.service14150644editdlrm
system-update-pre.target5430644editdlrm
system-update.target6170644editdlrm
systemd-ask-password-console.path7040644editdlrm
systemd-ask-password-console.service7280644editdlrm
systemd-ask-password-wall.path6320644editdlrm
systemd-ask-password-wall.service7600644editdlrm
systemd-backlight@.service7600644editdlrm
systemd-binfmt.service10930644editdlrm
systemd-coredump.socket5370644editdlrm
systemd-coredump@.service11040644editdlrm
systemd-exit.service4940644editdlrm
systemd-firstboot.service7990644editdlrm
systemd-fsck-root.service6180644editdlrm
systemd-fsck@.service6710644editdlrm
systemd-halt.service5880644editdlrm
systemd-hibernate-resume@.service6750644editdlrm
systemd-hibernate.service5450644editdlrm
systemd-hostnamed.service11020644editdlrm
systemd-hwdb-update.service8260644editdlrm
systemd-hybrid-sleep.service5630644editdlrm
systemd-initctl.service5500644editdlrm
systemd-initctl.socket5460644editdlrm
systemd-journal-catalog-update.service7110644editdlrm
systemd-journal-flush.service8270644editdlrm
systemd-journald-audit.socket6470644editdlrm
systemd-journald-dev-log.socket11300644editdlrm
systemd-journald.service15370644editdlrm
systemd-journald.socket8820644editdlrm
systemd-kexec.service6010644editdlrm
systemd-localed.service10710644editdlrm
systemd-logind.service13830644editdlrm
systemd-machine-id-commit.service7370644editdlrm
systemd-modules-load.service10110644editdlrm
systemd-portabled.service9870644editdlrm
systemd-poweroff.service5560644editdlrm
systemd-pstore.service8400644editdlrm
systemd-quotacheck.service6630644editdlrm
systemd-random-seed.service8000644editdlrm
systemd-reboot.service5510644editdlrm
systemd-remount-fs.service8020644editdlrm
systemd-resolved.service16680644editdlrm
systemd-rfkill.service7280644editdlrm
systemd-rfkill.socket6570644editdlrm
systemd-suspend-then-hibernate.service6000644editdlrm
systemd-suspend.service5410644editdlrm
systemd-sysctl.service6970644editdlrm
systemd-sysusers.service7040644editdlrm
systemd-timedated.service10420644editdlrm
systemd-tmpfiles-clean.service6630644editdlrm
systemd-tmpfiles-clean.timer4900644editdlrm
systemd-tmpfiles-setup-dev.service7710644editdlrm
systemd-tmpfiles-setup.service7510644editdlrm
systemd-udev-settle.service8670644editdlrm
systemd-udev-trigger.service7710644editdlrm
systemd-udevd-control.socket6350644editdlrm
systemd-udevd-kernel.socket6100644editdlrm
systemd-udevd.service10700644editdlrm
systemd-update-done.service6740644editdlrm
systemd-update-utmp-runlevel.service8010644editdlrm
systemd-update-utmp.service8020644editdlrm
systemd-user-sessions.service6360644editdlrm
systemd-vconsole-setup.service6220644editdlrm
systemd-volatile-root.service6940644editdlrm
tcsd.service1280644editdlrm
teamd@.service2440644editdlrm
time-sync.target4350644editdlrm
timedatex.service2380644editdlrm
timers.target4450644editdlrm
tmp.mount7820644editdlrm
tuned.service4390644editdlrm
udisks2.service2070644editdlrm
umount.target4570644editdlrm
unbound-anchor.service2960644editdlrm
unbound-anchor.timer3460644editdlrm
user-runtime-dir@.service6290644editdlrm
user.slice4320644editdlrm
user@.service6710644editdlrm
var-lib-nfs-rpc_pipefs.mount1910644editdlrm
wp-toolkit-background-tasks.service3410644editdlrm
wp-toolkit-scheduled-tasks.service3390644editdlrm
Edit: /usr/lib/systemd/system/mariadb.service (5528B)
# It's not recommended to modify this file in-place, because it will be # overwritten during package upgrades. If you want to customize, the # best way is to create a file "/etc/systemd/system/mariadb.service", # containing # .include /usr/lib/systemd/system/mariadb.service # ...make your changes here... # or create a file "/etc/systemd/system/mariadb.service.d/foo.conf", # which doesn't need to include ".include" call and which will be parsed # after the file mariadb.service itself is parsed. # # For more info about custom unit files, see systemd.unit(5) or # https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/systemd # # Copyright notice: # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=MariaDB 10.11.19 database server Documentation=man:mariadbd(8) Documentation=https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/systemd After=network.target [Install] WantedBy=multi-user.target [Service] ############################################################################## ## Core requirements ## Type=notify # Setting this to true can break replication and the Type=notify settings # See also bind-address mariadbd option. PrivateNetwork=false ############################################################################## ## Package maintainers ## User=mysql Group=mysql # CAP_IPC_LOCK To allow memlock to be used as non-root user # These are enabled by default AmbientCapabilities=CAP_IPC_LOCK # Prevent writes to /usr, /boot, and /etc ProtectSystem=full # Doesn't yet work properly with SELinux enabled # NoNewPrivileges=true # Restrict modifications of cgroups from the MariaDB service context. ProtectControlGroups=true # Prevent accessing /home, /root and /run/user ProtectHome=true # Use an environment file to pass variable _WSREP_NEW_CLUSTER. # Must not be writable by mysql user. EnvironmentFile=-/run/mariadb-wsrep-new-cluster # Needed to create system tables etc. # ExecStartPre=/usr/bin/mariadb-install-db # Start main service # MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf # Use the [Service] section and Environment="MYSQLD_OPTS=...". # This isn't a replacement for my.cnf. # _WSREP_NEW_CLUSTER is for the exclusive use of the script galera_new_cluster # # Perform automatic wsrep recovery. When server is started without wsrep, # galera_recovery simply returns an empty string. In any case, however, it is # not expected to return a non-zero status. ExecStart=/bin/sh -c "set -f; [ ! -e /usr/bin/galera_recovery ] && VAR= || \ VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] || exit 1; \ exec /usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $VAR" # have to set the name explicitly now, otherwise it'll be the # first name from ExecStart SyslogIdentifier=mariadbd KillSignal=SIGTERM # Don't want to see an automated SIGKILL ever SendSIGKILL=no # Restart crashed server only, on-failure would also restart, for example, when # my.cnf contains unknown option Restart=on-abnormal RestartSec=5s UMask=007 ############################################################################## ## USERs can override ## ## ## by creating a file in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf ## and adding/setting the following under [Service] will override this file's ## settings. # Useful options not previously available in [mysqld_safe] # Kernels like killing mariadbd when out of memory because its big. # Lets temper that preference a little. # OOMScoreAdjust=-600 # Explicitly start with high IO priority # BlockIOWeight=1000 # If you don't use the /tmp directory for SELECT ... OUTFILE and # LOAD DATA INFILE you can enable PrivateTmp=true for a little more security. PrivateTmp=false # Set an explicit Start and Stop timeout of 900 seconds (15 minutes!) # this is the same value as used in SysV init scripts in the past # Galera might need a longer timeout, check the KB if you want to change this: # https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/systemd TimeoutStartSec=900 TimeoutStopSec=900 # Set the maximium number of tasks (threads) to 99% of what the system can # handle as set by the kernel, reserve the 1% for a remote ssh connection, # some monitoring, or that backup cron job. Without the directive this would # be 15% (see DefaultTasksMax in systemd man pages). TasksMax=99% ## ## Options previously available to be set via [mysqld_safe] ## that now needs to be set by systemd config files as mysqld_safe ## isn't executed. ## # Number of files limit. previously [mysqld_safe] open-files-limit LimitNOFILE=32768 # Maximium core size. previously [mysqld_safe] core-file-size # LimitCore= # Nice priority. previously [mysqld_safe] nice # Nice=-5 # Timezone. previously [mysqld_safe] timezone # Environment="TZ=UTC" # Library substitutions. previously [mysqld_safe] malloc-lib with explicit paths # (in LD_LIBRARY_PATH) and library name (in LD_PRELOAD). # Environment="LD_LIBRARY_PATH=/path1 /path2" "LD_PRELOAD=" # Flush caches. previously [mysqld_safe] flush-caches=1 # ExecStartPre=sync # ExecStartPre=sysctl -q -w vm.drop_caches=3 # numa-interleave=1 equalivant # Change ExecStart=numactl --interleave=all /usr/sbin/mariadbd...... # crash-script equalivent # FailureAction=