Fix more modules config files

This commit is contained in:
iliajie
2022-07-20 03:39:23 +03:00
parent 7f0d7fe741
commit af868656ea
50 changed files with 279 additions and 82 deletions

View File

@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@ -15,5 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/etc/httpd/run/httpd.pid
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@ -0,0 +1,23 @@
show_list=1
httpd_dir=/etc/apache2
httpd_path=/usr/sbin/apache2
httpd_conf=/etc/apache2/apache2.conf
mime_types=/etc/mime.types
start_cmd=systemctl start apache2
apply_cmd=systemctl reload apache2
stop_cmd=systemctl stop apache2
show_order=0
max_servers=100
test_config=1
test_manual=0
test_always=0
test_apachectl=1
virt_file=/etc/apache2/sites-available
link_dir=/etc/apache2/sites-enabled
auto_mods=1
defines_file=/etc/apache2/envvars
defines_name=APACHE_ARGUMENTS
apachectl_path=/usr/sbin/apache2ctl
show_names=0
allow_virtualmin=0
format_config=1

View File

@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/apache2
httpd_path=/usr/sbin/apache2
httpd_conf=/etc/apache2/apache2.conf

View File

@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@ -15,4 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@ -1,4 +1,4 @@
dovecot=/usr/sbin/dovecot
dovecot_config=/etc/dovecot/dovecot.conf /etc/dovecot.conf
init_script=dovecot.service
pid_file=/var/run/dovecot/master.pid
pid_file=/run/dovecot/master.pid

View File

@ -1,5 +1,5 @@
start_cmd=service mariadb start
stop_cmd=service mariadb stop
start_cmd=systemctl start mariadb
stop_cmd=systemctl stop mariadb
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
@ -20,3 +20,4 @@ my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -1,5 +1,5 @@
start_cmd=service mariadb start
stop_cmd=service mariadb stop
start_cmd=systemctl start mariadb
stop_cmd=systemctl stop mariadb
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
@ -20,3 +20,4 @@ my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -1,5 +1,5 @@
start_cmd=service mariadb start
stop_cmd=service mariadb stop
start_cmd=systemctl start mariadb
stop_cmd=systemctl stop mariadb
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
@ -20,3 +20,4 @@ my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -1,5 +1,5 @@
start_cmd=service mariadb start
stop_cmd=service mariadb stop
start_cmd=systemctl start mariadb
stop_cmd=systemctl stop mariadb
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
@ -20,3 +20,4 @@ my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -1,9 +1,9 @@
start_cmd=service mysql start
stop_cmd=service mysql stop
start_cmd=systemctl start mysql
stop_cmd=systemctl stop mysql
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
mysql_libs=/usr/local/mysql/lib
mysql_libs=
mysqladmin=/usr/bin/mysqladmin
mysqlshow=/usr/bin/mysqlshow
perpage=25

View File

@ -0,0 +1,23 @@
start_cmd=systemctl start mysql
stop_cmd=systemctl stop mysql
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
mysql_libs=
mysqladmin=/usr/bin/mysqladmin
mysqlshow=/usr/bin/mysqlshow
perpage=25
style=1
add_mode=1
nodbi=0
access=*: *
blob_mode=0
date_subs=0
passwd_mode=0
mysql_data=/var/lib/mysql
max_dbs=50
my_cnf=/etc/mysql/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -1,5 +1,5 @@
start_cmd=systemctl start mariadb.service
stop_cmd=systemctl stop mariadb.service
start_cmd=systemctl start mariadb
stop_cmd=systemctl stop mariadb
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
@ -20,3 +20,4 @@ my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0
login=root

View File

@ -3,12 +3,12 @@ psql=/usr/bin/psql
basedb=template1
start_cmd=systemctl start postgresql
stop_cmd=systemctl stop postgresql
pid_file=/var/run/postmaster*.pid
pid_file=/var/lib/pgsql/data/postmaster.pid
perpage=25
hba_conf=/var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/*/data/pg_hba.conf
nodbi=0
user=postgres
setup_cmd=postgresql-setup initdb
setup_cmd=postgresql-setup --initdb
dump_cmd=/usr/bin/pg_dump
rstr_cmd=/usr/bin/pg_restore
repository=/home/db_repository

View File

@ -3,12 +3,12 @@ psql=/usr/bin/psql
basedb=template1
start_cmd=systemctl start postgresql
stop_cmd=systemctl stop postgresql
pid_file=/var/run/postmaster*.pid
pid_file=/var/lib/pgsql/data/postmaster.pid
perpage=25
hba_conf=/var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/*/data/pg_hba.conf
nodbi=0
user=postgres
setup_cmd=postgresql-setup initdb
setup_cmd=postgresql-setup --initdb
dump_cmd=/usr/bin/pg_dump
rstr_cmd=/usr/bin/pg_restore
repository=/home/db_repository

View File

@ -3,12 +3,12 @@ psql=/usr/bin/psql
basedb=template1
start_cmd=systemctl start postgresql
stop_cmd=systemctl stop postgresql
pid_file=/var/run/postmaster*.pid
pid_file=/var/lib/pgsql/data/postmaster.pid
perpage=25
hba_conf=/var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/*/data/pg_hba.conf
nodbi=0
user=postgres
setup_cmd=postgresql-setup initdb
setup_cmd=postgresql-setup --initdb
dump_cmd=/usr/bin/pg_dump
rstr_cmd=/usr/bin/pg_restore
repository=/home/db_repository

View File

@ -0,0 +1,24 @@
hba_conf=/etc/postgresql/*/main/pg_hba.conf
psql=/usr/bin/psql
start_cmd=systemctl start postgresql
stop_cmd=systemctl stop postgresql
basedb=template1
perpage=25
plib=
pass=
login=postgres
pid_file=/run/postgresql/*.pid
nodbi=0
dump_cmd=/usr/bin/pg_dump
rstr_cmd=/usr/bin/pg_restore
sameunix=1
access=*: *
blob_mode=0
add_mode=1
date_subs=0
style=0
max_dbs=50
simple_sched=0
access_own=0
max_text=1000
webmin_subs=0

View File

@ -8,3 +8,4 @@ stop_cmd=systemctl stop proftpd
start_cmd=systemctl start proftpd
defines_file=/etc/sysconfig/proftpd
defines_name=PROFTPD_OPTIONS
pid_file=/run/proftpd/proftpd.pid

View File

@ -8,3 +8,4 @@ stop_cmd=systemctl stop proftpd
start_cmd=systemctl start proftpd
defines_file=/etc/sysconfig/proftpd
defines_name=PROFTPD_OPTIONS
pid_file=/run/proftpd/proftpd.pid

View File

@ -8,3 +8,4 @@ stop_cmd=systemctl stop proftpd
start_cmd=systemctl start proftpd
defines_file=/etc/sysconfig/proftpd
defines_name=PROFTPD_OPTIONS
pid_file=/run/proftpd/proftpd.pid

View File

@ -1,8 +1,8 @@
proftpd_path=/usr/sbin/proftpd
proftpd_conf=/etc/proftpd/proftpd.conf
pid_file=/var/run/proftpd.pid
start_cmd=/etc/init.d/proftpd start
stop_cmd=/etc/init.d/proftpd stop
start_cmd=systemctl start proftpd
stop_cmd=systemctl stop proftpd
ftpusers=/etc/ftpusers
test_config=1
test_always=0

View File

@ -0,0 +1,9 @@
proftpd_path=/usr/sbin/proftpd
proftpd_conf=/etc/proftpd/proftpd.conf
pid_file=/var/run/proftpd.pid
start_cmd=systemctl start proftpd
stop_cmd=systemctl stop proftpd
ftpusers=/etc/ftpusers
test_config=1
test_always=0
test_manual=0

View File

@ -8,3 +8,4 @@ stop_cmd=systemctl stop proftpd.service
start_cmd=systemctl start proftpd.service
defines_file=/etc/sysconfig/proftpd
defines_name=PROFTPD_OPTIONS
pid_file=/run/proftpd/proftpd.pid

View File

@ -0,0 +1,13 @@
local_cf=/etc/mail/spamassassin/local.cf
spamassassin=spamassassin
sa_learn=sa-learn
procmailrc=/etc/procmailrc
amavisdconf=/etc/amavisd/amavisd.conf
warn_procmail=1
call_spam=1
processes=spamd amavisd
restart_cmd=systemctl restart spamassassin
procmail_cmd=*
mode=0
addto=0
max_awl=200

View File

@ -0,0 +1,13 @@
local_cf=/etc/mail/spamassassin/local.cf
spamassassin=spamassassin
sa_learn=sa-learn
procmailrc=/etc/procmailrc
amavisdconf=/etc/amavisd/amavisd.conf
warn_procmail=1
call_spam=1
processes=spamd amavisd
restart_cmd=systemctl restart spamassassin
procmail_cmd=*
mode=0
addto=0
max_awl=200

View File

@ -0,0 +1,13 @@
local_cf=/etc/spamassassin/local.cf
spamassassin=spamassassin
sa_learn=sa-learn
procmailrc=/etc/procmailrc
amavisdconf=/etc/amavis/conf.d/20-debian_defaults
warn_procmail=1
call_spam=1
processes=spamd amavisd
restart_cmd=systemctl restart spamassassin
procmail_cmd=*
mode=0
addto=0
max_awl=200

View File

@ -0,0 +1,13 @@
local_cf=/etc/mail/spamassassin/local.cf
spamassassin=spamassassin
sa_learn=sa-learn
procmailrc=/etc/procmailrc
amavisdconf=/etc/amavisd/amavisd.conf
warn_procmail=1
call_spam=1
processes=spamd amavisd
restart_cmd=systemctl restart spamassassin
procmail_cmd=*
mode=0
addto=0
max_awl=200

View File

@ -4,8 +4,9 @@ cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/run/squid.pid
cachemgr_path=/usr/*/squid/cachemgr.cgi
squid_start=service squid start
squid_stop=service squid stop
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid
calamaris=calamaris
cal_max=50000
cal_args=-aw

View File

@ -4,8 +4,9 @@ cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/run/squid.pid
cachemgr_path=/usr/*/squid/cachemgr.cgi
squid_start=service squid start
squid_stop=service squid stop
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid
calamaris=calamaris
cal_max=50000
cal_args=-aw

View File

@ -4,8 +4,9 @@ cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/run/squid.pid
cachemgr_path=/usr/*/squid/cachemgr.cgi
squid_start=service squid start
squid_stop=service squid stop
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid
calamaris=calamaris
cal_max=50000
cal_args=-aw

View File

@ -16,6 +16,6 @@ cal_fmt=w
cal_all=1
restart_pos=0
squidclient=squidclient
squid_start=service squid start
squid_stop=service squid stop
squid_restart=service squid reload
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid

View File

@ -0,0 +1,21 @@
log_dir=/var/log/squid
squid_path=squid
cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/var/run/squid.pid
cachemgr_path=/usr/lib/cgi-bin/cachemgr.cgi
calamaris=calamaris
cal_max=50000
cal_args=-aw
crypt_conf=0
sort_conf=0
sync_create=0
sync_delete=0
sync_modify=1
cal_fmt=w
cal_all=1
restart_pos=0
squidclient=squidclient
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid

View File

@ -2,10 +2,11 @@ log_dir=/var/log/squid
squid_path=squid
cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/var/run/squid.pid
pid_file=/run/squid.pid
cachemgr_path=/usr/*/squid/cachemgr.cgi
squid_start=systemctl start squid.service
squid_stop=systemctl stop squid.service
squid_start=systemctl start squid
squid_stop=systemctl stop squid
squid_restart=systemctl reload squid
calamaris=calamaris
cal_max=50000
cal_args=-aw

View File

@ -0,0 +1,11 @@
sshd_path=/usr/sbin/sshd
sshd_config=/etc/ssh/sshd_config
client_config=/etc/ssh/ssh_config
pid_file=/var/run/sshd.pid
start_cmd=systemctl start sshd
stop_cmd=systemctl stop sshd
keygen_path=/usr/bin/ssh-keygen
sync_create=0
sync_auth=1
sync_pass=0
sync_gnupg=0

View File

@ -0,0 +1,11 @@
sshd_path=/usr/sbin/sshd
sshd_config=/etc/ssh/sshd_config
client_config=/etc/ssh/ssh_config
pid_file=/var/run/sshd.pid
start_cmd=systemctl start sshd
stop_cmd=systemctl stop sshd
keygen_path=/usr/bin/ssh-keygen
sync_create=0
sync_auth=1
sync_pass=0
sync_gnupg=0

View File

@ -0,0 +1,11 @@
sshd_path=/usr/sbin/sshd
sshd_config=/etc/ssh/sshd_config
client_config=/etc/ssh/ssh_config
pid_file=/var/run/sshd.pid
start_cmd=systemctl start sshd
stop_cmd=systemctl stop sshd
keygen_path=/usr/bin/ssh-keygen
sync_create=0
sync_auth=1
sync_pass=0
sync_gnupg=0

View File

@ -3,7 +3,7 @@ syslogd=/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/var/run/rsyslogd.pid /run/syslogd.pid
pid_file=/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
@ -19,8 +19,9 @@ file_/var/log/news.crit=desc_news
file_/var/log/news.err=desc_news
file_/var/log/news.notice=desc_news
socket=0
start_cmd=service rsyslog start
restart_cmd=service rsyslog restart
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -3,7 +3,7 @@ syslogd=/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/var/run/rsyslogd.pid /run/syslogd.pid
pid_file=/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
@ -19,8 +19,9 @@ file_/var/log/news.crit=desc_news
file_/var/log/news.err=desc_news
file_/var/log/news.notice=desc_news
socket=0
start_cmd=service rsyslog start
restart_cmd=service rsyslog reload
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -3,7 +3,7 @@ syslogd=/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/var/run/rsyslogd.pid /run/syslogd.pid
pid_file=/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
@ -19,8 +19,9 @@ file_/var/log/news.crit=desc_news
file_/var/log/news.err=desc_news
file_/var/log/news.notice=desc_news
socket=0
start_cmd=service rsyslog start
restart_cmd=service rsyslog restart
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -11,9 +11,9 @@ pipe=1
tags=0
lines=100
socket=0
start_cmd=/usr/sbin/service rsyslog start
restart_cmd=/usr/sbin/service rsyslog restart
signal_cmd=/usr/sbin/service rsyslog restart
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -0,0 +1,19 @@
pri_all=1
syslogd=/usr/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/var/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
pipe=1
tags=0
lines=100
socket=0
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -3,6 +3,7 @@ syslogd=/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
@ -18,8 +19,9 @@ file_/var/log/news.crit=desc_news
file_/var/log/news.err=desc_news
file_/var/log/news.notice=desc_news
socket=0
start_cmd=systemctl start rsyslog.service
restart_cmd=systemctl restart rsyslog.service
start_cmd=systemctl start rsyslog
restart_cmd=systemctl restart rsyslog
signal_cmd=systemctl restart rsyslog
compressed=1
others=1
reverse=0

View File

@ -1,26 +0,0 @@
pri_all=1
syslogd=/sbin/syslogd
m4_conf=0
syslog_conf=/etc/syslog.conf
pri_dir=1
pid_file=/var/run/syslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
pipe=1
tags=0
lines=100
file_/var/log/messages=desc_sysmesg
file_/var/log/secure=desc_auth
file_/var/log/maillog=desc_mail
file_/var/log/spooler=desc_uucp
file_/var/log/boot.log=desc_boot
file_/var/log/news.crit=desc_news
file_/var/log/news.err=desc_news
file_/var/log/news.notice=desc_news
socket=0
start_cmd=/etc/rc.d/init.d/syslog start
restart_cmd=/etc/rc.d/init.d/syslog reload
compressed=1
others=1
reverse=0