Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
augeas /
lenses /
dist /
Delete
Unzip
Name
Size
Permission
Date
Action
tests
[ DIR ]
drwxr-xr-x
2024-08-28 22:15
access.aug
3.58
KB
-rw-r--r--
2021-12-24 21:03
activemq_conf.aug
1.47
KB
-rw-r--r--
2021-12-24 21:03
activemq_xml.aug
864
B
-rw-r--r--
2021-12-24 21:03
afs_cellalias.aug
1.56
KB
-rw-r--r--
2021-12-24 21:03
aliases.aug
2.18
KB
-rw-r--r--
2021-12-24 21:03
anaconda.aug
775
B
-rw-r--r--
2021-12-24 21:03
anacron.aug
2.49
KB
-rw-r--r--
2021-12-24 21:03
approx.aug
1.26
KB
-rw-r--r--
2021-12-24 21:03
apt_update_manager.aug
1.11
KB
-rw-r--r--
2021-12-24 21:03
aptcacherngsecurity.aug
726
B
-rw-r--r--
2021-12-24 21:03
aptconf.aug
3.9
KB
-rw-r--r--
2021-12-24 21:03
aptpreferences.aug
1.79
KB
-rw-r--r--
2021-12-24 21:03
aptsources.aug
1.98
KB
-rw-r--r--
2021-12-24 21:03
authinfo2.aug
1.44
KB
-rw-r--r--
2021-12-24 21:03
authorized_keys.aug
1.84
KB
-rw-r--r--
2021-12-24 21:03
authselectpam.aug
3.7
KB
-rw-r--r--
2021-12-24 21:03
automaster.aug
3.31
KB
-rw-r--r--
2021-12-24 21:03
automounter.aug
4.05
KB
-rw-r--r--
2021-12-24 21:03
avahi.aug
1.38
KB
-rw-r--r--
2021-12-24 21:03
backuppchosts.aug
1014
B
-rw-r--r--
2021-12-24 21:03
bbhosts.aug
4.24
KB
-rw-r--r--
2021-12-24 21:03
bootconf.aug
3.65
KB
-rw-r--r--
2021-12-24 21:03
build.aug
16.65
KB
-rw-r--r--
2021-12-24 21:03
cachefilesd.aug
2
KB
-rw-r--r--
2021-12-24 21:03
carbon.aug
1.54
KB
-rw-r--r--
2021-12-24 21:03
ceph.aug
719
B
-rw-r--r--
2021-12-24 21:03
cgconfig.aug
3.37
KB
-rw-r--r--
2021-12-24 21:03
cgrules.aug
2.38
KB
-rw-r--r--
2021-12-24 21:03
channels.aug
3.84
KB
-rw-r--r--
2021-12-24 21:03
chrony.aug
13.65
KB
-rw-r--r--
2021-12-24 21:03
clamav.aug
1.68
KB
-rw-r--r--
2021-12-24 21:03
cmdline.aug
500
B
-rw-r--r--
2021-12-24 21:03
cobblermodules.aug
398
B
-rw-r--r--
2021-12-24 21:03
cobblersettings.aug
2.24
KB
-rw-r--r--
2021-12-24 21:03
collectd.aug
869
B
-rw-r--r--
2021-12-24 21:03
cpanel.aug
824
B
-rw-r--r--
2021-12-24 21:03
cron.aug
4.05
KB
-rw-r--r--
2021-12-24 21:03
cron_user.aug
1.26
KB
-rw-r--r--
2021-12-24 21:03
crypttab.aug
3.08
KB
-rw-r--r--
2021-12-24 21:03
csv.aug
1.18
KB
-rw-r--r--
2021-12-24 21:03
cups.aug
459
B
-rw-r--r--
2021-12-24 21:03
cyrus_imapd.aug
1.51
KB
-rw-r--r--
2021-12-24 21:03
darkice.aug
773
B
-rw-r--r--
2021-12-24 21:03
debctrl.aug
3.61
KB
-rw-r--r--
2021-12-24 21:03
desktop.aug
1.39
KB
-rw-r--r--
2021-12-24 21:03
devfsrules.aug
619
B
-rw-r--r--
2021-12-24 21:03
device_map.aug
620
B
-rw-r--r--
2021-12-24 21:03
dhclient.aug
6.69
KB
-rw-r--r--
2021-12-24 21:03
dhcpd.aug
20.88
KB
-rw-r--r--
2021-12-24 21:03
dns_zone.aug
2.89
KB
-rw-r--r--
2021-12-24 21:03
dnsmasq.aug
2.16
KB
-rw-r--r--
2021-12-24 21:03
dovecot.aug
3.98
KB
-rw-r--r--
2021-12-24 21:03
dpkg.aug
2.78
KB
-rw-r--r--
2021-12-24 21:03
dput.aug
2.16
KB
-rw-r--r--
2021-12-24 21:03
erlang.aug
4.33
KB
-rw-r--r--
2021-12-24 21:03
ethers.aug
663
B
-rw-r--r--
2021-12-24 21:03
exports.aug
2.37
KB
-rw-r--r--
2021-12-24 21:03
fai_diskconfig.aug
9.28
KB
-rw-r--r--
2021-12-24 21:03
fail2ban.aug
1.79
KB
-rw-r--r--
2021-12-24 21:03
fonts.aug
819
B
-rw-r--r--
2021-12-24 21:03
fstab.aug
1.23
KB
-rw-r--r--
2021-12-24 21:03
fuse.aug
871
B
-rw-r--r--
2021-12-24 21:03
gdm.aug
1.8
KB
-rw-r--r--
2021-12-24 21:03
getcap.aug
1.57
KB
-rw-r--r--
2021-12-24 21:03
group.aug
1.66
KB
-rw-r--r--
2021-12-24 21:03
grub.aug
11.05
KB
-rw-r--r--
2021-12-24 21:03
grubenv.aug
508
B
-rw-r--r--
2021-12-24 21:03
gshadow.aug
2.19
KB
-rw-r--r--
2021-12-24 21:03
gtkbookmarks.aug
855
B
-rw-r--r--
2021-12-24 21:03
host_conf.aug
1.9
KB
-rw-r--r--
2021-12-24 21:03
hostname.aug
435
B
-rw-r--r--
2021-12-24 21:03
hosts.aug
485
B
-rw-r--r--
2021-12-24 21:03
hosts_access.aug
4.32
KB
-rw-r--r--
2021-12-24 21:03
htpasswd.aug
1.02
KB
-rw-r--r--
2021-12-24 21:03
httpd.aug
7.35
KB
-rw-r--r--
2021-12-24 21:03
inetd.aug
6.22
KB
-rw-r--r--
2021-12-24 21:03
inifile.aug
15.49
KB
-rw-r--r--
2021-12-24 21:03
inittab.aug
780
B
-rw-r--r--
2021-12-24 21:03
inputrc.aug
1.62
KB
-rw-r--r--
2021-12-24 21:03
interfaces.aug
4.62
KB
-rw-r--r--
2021-12-24 21:03
iproute2.aug
323
B
-rw-r--r--
2021-12-24 21:03
iptables.aug
2.64
KB
-rw-r--r--
2021-12-24 21:03
iscsid.aug
684
B
-rw-r--r--
2021-12-24 21:03
jaas.aug
1.57
KB
-rw-r--r--
2021-12-24 21:03
jettyrealm.aug
1.52
KB
-rw-r--r--
2021-12-24 21:03
jmxaccess.aug
1.35
KB
-rw-r--r--
2021-12-24 21:03
jmxpassword.aug
1.34
KB
-rw-r--r--
2021-12-24 21:03
json.aug
2.15
KB
-rw-r--r--
2021-12-24 21:03
kdump.aug
2.91
KB
-rw-r--r--
2021-12-24 21:03
keepalived.aug
10.7
KB
-rw-r--r--
2021-12-24 21:03
known_hosts.aug
1.93
KB
-rw-r--r--
2021-12-24 21:03
koji.aug
898
B
-rw-r--r--
2021-12-24 21:03
krb5.aug
6.98
KB
-rw-r--r--
2021-12-24 21:03
ldif.aug
7.65
KB
-rw-r--r--
2021-12-24 21:03
ldso.aug
1.06
KB
-rw-r--r--
2021-12-24 21:03
lightdm.aug
1.75
KB
-rw-r--r--
2021-12-24 21:03
limits.aug
2.02
KB
-rw-r--r--
2021-12-24 21:03
login_defs.aug
615
B
-rw-r--r--
2021-12-24 21:03
logrotate.aug
4.23
KB
-rw-r--r--
2021-12-24 21:03
logwatch.aug
1.44
KB
-rw-r--r--
2021-12-24 21:03
lokkit.aug
2.16
KB
-rw-r--r--
2021-12-24 21:03
lvm.aug
2.03
KB
-rw-r--r--
2021-12-24 21:03
mailscanner.aug
1.66
KB
-rw-r--r--
2021-12-24 21:03
mailscanner_rules.aug
2.84
KB
-rw-r--r--
2021-12-24 21:03
masterpasswd.aug
4.36
KB
-rw-r--r--
2021-12-24 21:03
mcollective.aug
1.09
KB
-rw-r--r--
2021-12-24 21:03
mdadm_conf.aug
10.05
KB
-rw-r--r--
2021-12-24 21:03
memcached.aug
1.24
KB
-rw-r--r--
2021-12-24 21:03
mke2fs.aug
6.29
KB
-rw-r--r--
2021-12-24 21:03
modprobe.aug
3.34
KB
-rw-r--r--
2021-12-24 21:03
modules.aug
741
B
-rw-r--r--
2021-12-24 21:03
modules_conf.aug
1.04
KB
-rw-r--r--
2021-12-24 21:03
mongodbserver.aug
1.17
KB
-rw-r--r--
2021-12-24 21:03
monit.aug
2.13
KB
-rw-r--r--
2021-12-24 21:03
multipath.aug
4.21
KB
-rw-r--r--
2021-12-24 21:03
mysql.aug
1.95
KB
-rw-r--r--
2021-12-24 21:03
nagioscfg.aug
2.09
KB
-rw-r--r--
2021-12-24 21:03
nagiosobjects.aug
1.57
KB
-rw-r--r--
2021-12-24 21:03
netmasks.aug
1.69
KB
-rw-r--r--
2021-12-24 21:03
networkmanager.aug
2.18
KB
-rw-r--r--
2021-12-24 21:03
networks.aug
1.09
KB
-rw-r--r--
2021-12-24 21:03
nginx.aug
3.65
KB
-rw-r--r--
2021-12-24 21:03
nrpe.aug
1.78
KB
-rw-r--r--
2021-12-24 21:03
nslcd.aug
9.87
KB
-rw-r--r--
2021-12-24 21:03
nsswitch.aug
2.33
KB
-rw-r--r--
2021-12-24 21:03
ntp.aug
5.29
KB
-rw-r--r--
2021-12-24 21:03
ntpd.aug
4.75
KB
-rw-r--r--
2021-12-24 21:03
odbc.aug
1.42
KB
-rw-r--r--
2021-12-24 21:03
opendkim.aug
3.1
KB
-rw-r--r--
2021-12-24 21:03
openshift_config.aug
2.46
KB
-rw-r--r--
2021-12-24 21:03
openshift_http.aug
1.03
KB
-rw-r--r--
2021-12-24 21:03
openshift_quickstarts.aug
1.02
KB
-rw-r--r--
2021-12-24 21:03
openvpn.aug
22.28
KB
-rw-r--r--
2021-12-24 21:03
oz.aug
1.35
KB
-rw-r--r--
2021-12-24 21:03
pagekite.aug
2.6
KB
-rw-r--r--
2021-12-24 21:03
pam.aug
2.58
KB
-rw-r--r--
2021-12-24 21:03
pamconf.aug
1.23
KB
-rw-r--r--
2021-12-24 21:03
passwd.aug
3.52
KB
-rw-r--r--
2021-12-24 21:03
pbuilder.aug
638
B
-rw-r--r--
2021-12-24 21:03
pg_hba.aug
2.97
KB
-rw-r--r--
2021-12-24 21:03
pgbouncer.aug
1.43
KB
-rw-r--r--
2021-12-24 21:03
php.aug
2.34
KB
-rw-r--r--
2021-12-24 21:03
phpvars.aug
3.85
KB
-rw-r--r--
2021-12-24 21:03
postfix_access.aug
771
B
-rw-r--r--
2021-12-24 21:03
postfix_main.aug
1.52
KB
-rw-r--r--
2021-12-24 21:03
postfix_master.aug
1.9
KB
-rw-r--r--
2021-12-24 21:03
postfix_passwordmap.aug
1.28
KB
-rw-r--r--
2021-12-24 21:03
postfix_sasl_smtpd.aug
697
B
-rw-r--r--
2021-12-24 21:03
postfix_transport.aug
1.48
KB
-rw-r--r--
2021-12-24 21:03
postfix_virtual.aug
1.32
KB
-rw-r--r--
2021-12-24 21:03
postgresql.aug
2.1
KB
-rw-r--r--
2021-12-24 21:03
properties.aug
2.3
KB
-rw-r--r--
2021-12-24 21:03
protocols.aug
1.05
KB
-rw-r--r--
2021-12-24 21:03
puppet.aug
1.52
KB
-rw-r--r--
2021-12-24 21:03
puppet_auth.aug
1.95
KB
-rw-r--r--
2021-12-24 21:03
puppetfile.aug
2.27
KB
-rw-r--r--
2021-12-24 21:03
puppetfileserver.aug
3.12
KB
-rw-r--r--
2021-12-24 21:03
pylonspaste.aug
2.3
KB
-rw-r--r--
2021-12-24 21:03
pythonpaste.aug
1.99
KB
-rw-r--r--
2021-12-24 21:03
qpid.aug
670
B
-rw-r--r--
2021-12-24 21:03
quote.aug
6.71
KB
-rw-r--r--
2021-12-24 21:03
rabbitmq.aug
4.69
KB
-rw-r--r--
2021-12-24 21:03
radicale.aug
1.48
KB
-rw-r--r--
2021-12-24 21:03
rancid.aug
927
B
-rw-r--r--
2021-12-24 21:03
redis.aug
6.29
KB
-rw-r--r--
2021-12-24 21:03
reprepro_uploaders.aug
5.47
KB
-rw-r--r--
2021-12-24 21:03
resolv.aug
3.99
KB
-rw-r--r--
2021-12-24 21:03
rhsm.aug
1.1
KB
-rw-r--r--
2021-12-24 21:03
rmt.aug
788
B
-rw-r--r--
2021-12-24 21:03
rsyncd.aug
1.97
KB
-rw-r--r--
2021-12-24 21:03
rsyslog.aug
3.27
KB
-rw-r--r--
2021-12-24 21:03
rtadvd.aug
854
B
-rw-r--r--
2021-12-24 21:03
rx.aug
4.2
KB
-rw-r--r--
2021-12-24 21:03
samba.aug
1.71
KB
-rw-r--r--
2021-12-24 21:03
schroot.aug
1.79
KB
-rw-r--r--
2021-12-24 21:03
securetty.aug
450
B
-rw-r--r--
2021-12-24 21:03
semanage.aug
859
B
-rw-r--r--
2021-12-24 21:03
sep.aug
1.28
KB
-rw-r--r--
2021-12-24 21:03
services.aug
2.82
KB
-rw-r--r--
2021-12-24 21:03
shadow.aug
2.35
KB
-rw-r--r--
2021-12-24 21:03
shells.aug
745
B
-rw-r--r--
2021-12-24 21:03
shellvars.aug
12.02
KB
-rw-r--r--
2021-12-24 21:03
shellvars_list.aug
1.74
KB
-rw-r--r--
2021-12-24 21:03
simplelines.aug
1.13
KB
-rw-r--r--
2021-12-24 21:03
simplevars.aug
1.4
KB
-rw-r--r--
2021-12-24 21:03
sip_conf.aug
1.61
KB
-rw-r--r--
2021-12-24 21:03
slapd.aug
5.2
KB
-rw-r--r--
2021-12-24 21:03
smbusers.aug
781
B
-rw-r--r--
2021-12-24 21:03
solaris_system.aug
3.15
KB
-rw-r--r--
2021-12-24 21:03
soma.aug
1.14
KB
-rw-r--r--
2021-12-24 21:03
spacevars.aug
1.42
KB
-rw-r--r--
2021-12-24 21:03
splunk.aug
1.64
KB
-rw-r--r--
2021-12-24 21:03
squid.aug
15.95
KB
-rw-r--r--
2021-12-24 21:03
ssh.aug
4.39
KB
-rw-r--r--
2021-12-24 21:03
sshd.aug
4.15
KB
-rw-r--r--
2021-12-24 21:03
sssd.aug
861
B
-rw-r--r--
2021-12-24 21:03
star.aug
941
B
-rw-r--r--
2021-12-24 21:03
strongswan.aug
1.63
KB
-rw-r--r--
2021-12-24 21:03
stunnel.aug
2.21
KB
-rw-r--r--
2021-12-24 21:03
subversion.aug
2.75
KB
-rw-r--r--
2021-12-24 21:03
sudoers.aug
20.08
KB
-rw-r--r--
2021-12-24 21:03
sysconfig.aug
2.49
KB
-rw-r--r--
2021-12-24 21:03
sysconfig_route.aug
2.55
KB
-rw-r--r--
2021-12-24 21:03
sysctl.aug
923
B
-rw-r--r--
2021-12-24 21:03
syslog.aug
7.33
KB
-rw-r--r--
2021-12-24 21:03
systemd.aug
6.01
KB
-rw-r--r--
2021-12-24 21:03
termcap.aug
1.03
KB
-rw-r--r--
2021-12-24 21:03
thttpd.aug
1.31
KB
-rw-r--r--
2021-12-24 21:03
tinc.aug
1.08
KB
-rw-r--r--
2021-12-24 21:03
tmpfiles.aug
3.08
KB
-rw-r--r--
2021-12-24 21:03
toml.aug
4.08
KB
-rw-r--r--
2021-12-24 21:03
trapperkeeper.aug
4.01
KB
-rw-r--r--
2021-12-24 21:03
tuned.aug
387
B
-rw-r--r--
2021-12-24 21:03
up2date.aug
2.21
KB
-rw-r--r--
2021-12-24 21:03
updatedb.aug
1.13
KB
-rw-r--r--
2021-12-24 21:03
util.aug
4.85
KB
-rw-r--r--
2021-12-24 21:03
vfstab.aug
1.71
KB
-rw-r--r--
2021-12-24 21:03
vmware_config.aug
702
B
-rw-r--r--
2021-12-24 21:03
vsftpd.aug
2.72
KB
-rw-r--r--
2021-12-24 21:03
webmin.aug
1.23
KB
-rw-r--r--
2021-12-24 21:03
wine.aug
1.92
KB
-rw-r--r--
2021-12-24 21:03
xendconfsxp.aug
1.07
KB
-rw-r--r--
2021-12-24 21:03
xinetd.aug
4.02
KB
-rw-r--r--
2021-12-24 21:03
xml.aug
6.33
KB
-rw-r--r--
2021-12-24 21:03
xorg.aug
10.43
KB
-rw-r--r--
2021-12-24 21:03
xymon.aug
2.26
KB
-rw-r--r--
2021-12-24 21:03
xymon_alerting.aug
6.11
KB
-rw-r--r--
2021-12-24 21:03
yaml.aug
1.54
KB
-rw-r--r--
2021-12-24 21:03
yum.aug
2.19
KB
-rw-r--r--
2021-12-24 21:03
Save
Rename
(* Module: Redis Parses Redis's configuration files Author: Marc Fournier <marc.fournier@camptocamp.com> About: Reference This lens is based on Redis's default redis.conf About: Usage Example (start code) augtool> set /augeas/load/Redis/incl "/etc/redis/redis.conf" augtool> set /augeas/load/Redis/lens "Redis.lns" augtool> load augtool> get /files/etc/redis/redis.conf/vm-enabled /files/etc/redis/redis.conf/vm-enabled = no augtool> print /files/etc/redis/redis.conf/rename-command[1]/ /files/etc/redis/redis.conf/rename-command /files/etc/redis/redis.conf/rename-command/from = "CONFIG" /files/etc/redis/redis.conf/rename-command/to = "CONFIG2" augtool> set /files/etc/redis/redis.conf/activerehashing no augtool> save Saved 1 file(s) augtool> set /files/etc/redis/redis.conf/save[1]/seconds 123 augtool> set /files/etc/redis/redis.conf/save[1]/keys 456 augtool> save Saved 1 file(s) (end code) The <Test_Redis> file also contains various examples. About: License This file is licensed under the LGPL v2+, like the rest of Augeas. *) module Redis = autoload xfm let k = Rx.word let v = /[^ \t\n'"]+/ let comment = Util.comment let empty = Util.empty let indent = Util.indent let eol = Util.eol let del_ws_spc = Util.del_ws_spc let dquote = Util.del_str "\"" (* View: standard_entry A standard entry is a key-value pair, separated by blank space, with optional blank spaces at line beginning & end. The value part can be optionnaly enclosed in single or double quotes. Comments at end-of-line ar NOT allowed by redis-server. *) let standard_entry = let reserved_k = "save" | "rename-command" | "replicaof" | "slaveof" | "bind" | "client-output-buffer-limit" | "sentinel" in let entry_noempty = [ indent . key (k - reserved_k) . del_ws_spc . Quote.do_quote_opt_nil (store v) . eol ] in let entry_empty = [ indent . key (k - reserved_k) . del_ws_spc . dquote . store "" . dquote . eol ] in entry_noempty | entry_empty let save = /save/ let seconds = [ label "seconds" . Quote.do_quote_opt_nil (store Rx.integer) ] let keys = [ label "keys" . Quote.do_quote_opt_nil (store Rx.integer) ] (* View: save_entry Entries identified by the "save" keyword can be found more than once. They have 2 mandatory parameters, both integers. The same rules as standard_entry apply for quoting, comments and whitespaces. *) let save_entry = [ indent . key save . del_ws_spc . seconds . del_ws_spc . keys . eol ] let replicaof = /replicaof|slaveof/ let ip = [ label "ip" . Quote.do_quote_opt_nil (store Rx.ip) ] let port = [ label "port" . Quote.do_quote_opt_nil (store Rx.integer) ] (* View: replicaof_entry Entries identified by the "replicaof" keyword can be found more than once. They have 2 mandatory parameters, the 1st one is an IP address, the 2nd one is a port number. The same rules as standard_entry apply for quoting, comments and whitespaces. *) let replicaof_entry = [ indent . key replicaof . del_ws_spc . ip . del_ws_spc . port . eol ] let sentinel_global_entry = let keys = "deny-scripts-reconfig" | "current-epoch" | "myid" in store keys . del_ws_spc . [ label "value" . store ( Rx.word | Rx.integer ) ] let sentinel_cluster_setup = let keys = "config-epoch" | "leader-epoch" in store keys . del_ws_spc . [ label "cluster" . store Rx.word ] . del_ws_spc . [ label "epoch" . store Rx.integer ] let sentinel_cluster_instance_setup = let keys = "monitor" | "known-replica" in store keys . del_ws_spc . [ label "cluster" . store Rx.word ] . del_ws_spc. [ label "ip" . store Rx.ip ] . del_ws_spc . [ label "port" . store Rx.integer ] . (del_ws_spc . [ label "quorum" . store Rx.integer ])? let sentinel_clustering = let keys = "known-sentinel" in store keys . del_ws_spc . [ label "cluster" . store Rx.word ] . del_ws_spc . [ label "ip" . store Rx.ip ] . del_ws_spc . [ label "port" . store Rx.integer ] . del_ws_spc . [ label "id" . store Rx.word ] (* View: sentinel_entry *) let sentinel_entry = indent . [ key "sentinel" . del_ws_spc . (sentinel_global_entry | sentinel_cluster_setup | sentinel_cluster_instance_setup | sentinel_clustering) ] . eol (* View: bind_entry The "bind" entry can be passed one or several ip addresses. A bind statement "bind ip1 ip2 .. ipn" results in a tree { "bind" { "ip" = ip1 } { "ip" = ip2 } ... { "ip" = ipn } } *) let bind_entry = let ip = del_ws_spc . Quote.do_quote_opt_nil (store Rx.ip) in indent . [ key "bind" . [ label "ip" . ip ]+ ] . eol let renamecmd = /rename-command/ let from = [ label "from" . Quote.do_quote_opt_nil (store Rx.word) ] let to = [ label "to" . Quote.do_quote_opt_nil (store Rx.word) ] (* View: save_entry Entries identified by the "rename-command" keyword can be found more than once. They have 2 mandatory parameters, both strings. The same rules as standard_entry apply for quoting, comments and whitespaces. *) let renamecmd_entry = [ indent . key renamecmd . del_ws_spc . from . del_ws_spc . to . eol ] let cobl_cmd = /client-output-buffer-limit/ let class = [ label "class" . Quote.do_quote_opt_nil (store Rx.word) ] let hard_limit = [ label "hard_limit" . Quote.do_quote_opt_nil (store Rx.word) ] let soft_limit = [ label "soft_limit" . Quote.do_quote_opt_nil (store Rx.word) ] let soft_seconds = [ label "soft_seconds" . Quote.do_quote_opt_nil (store Rx.integer) ] (* View: client_output_buffer_limit_entry Entries identified by the "client-output-buffer-limit" keyword can be found more than once. They have four mandatory parameters, of which the first is a string, the last one is an integer and the others are either integers or words, although redis is very liberal and takes "4242yadayadabytes" as a valid limit. The same rules as standard_entry apply for quoting, comments and whitespaces. *) let client_output_buffer_limit_entry = [ indent . key cobl_cmd . del_ws_spc . class . del_ws_spc . hard_limit . del_ws_spc . soft_limit . del_ws_spc . soft_seconds . eol ] let entry = standard_entry | save_entry | renamecmd_entry | replicaof_entry | bind_entry | sentinel_entry | client_output_buffer_limit_entry (* View: lns The Redis lens *) let lns = (comment | empty | entry )* let filter = incl "/etc/redis.conf" . incl "/etc/redis/redis.conf" let xfm = transform lns filter