Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
4fe86d05
Commit
4fe86d05
authored
Aug 20, 2007
by
pedro_morgan
Browse files
MInor tidy of the dist.conf.php files
parent
66b4f903
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/dist/conf/debian40.conf.php
View file @
4fe86d05
<?php
/*
Distribution specific settings
*/
//*** Debian 4.0 default settings
// Main
$dist
[
"
init_scripts
"
]
=
"
/etc/init.d
"
;
$dist
[
"
runlevel
"
]
=
"
/etc
"
;
$dist
[
"
shells
"
]
=
"
/etc/shells
"
;
$dist
[
"
cron_tab
"
]
=
"
/var/spool/cron/crontabs/root
"
;
$dist
[
"
pam
"
]
=
"
/etc/pam.d
"
;
//
*
Main
$dist
[
'
init_scripts
'
]
=
'
/etc/init.d
'
;
$dist
[
'
runlevel
'
]
=
'
/etc
'
;
$dist
[
'
shells
'
]
=
'
/etc/shells
'
;
$dist
[
'
cron_tab
'
]
=
'
/var/spool/cron/crontabs/root
'
;
$dist
[
'
pam
'
]
=
'
/etc/pam.d
'
;
// MySQL
$dist
[
"
mysql
"
][
"
init_script
"
]
=
"
mysql
"
;
//
*
MySQL
$dist
[
'
mysql
'
][
'
init_script
'
]
=
'
mysql
'
;
// Apache
$dist
[
"
apache
"
][
"
user
"
]
=
"
www-data
"
;
$dist
[
"
apache
"
][
"
group
"
]
=
"
www-data
"
;
$dist
[
"
apache
"
][
"
init_script
"
]
=
"
apache2
"
;
$dist
[
"
apache
"
][
"
version
"
]
=
"
2.2
"
;
$dist
[
"
apache
"
][
"
vhost_dist_dir
"
]
=
"
/etc/apache2/sites-available
"
;
$dist
[
"
apache
"
][
"
vhost_dist_enabled_dir
"
]
=
"
/etc/apache2/sites-enabled
"
;
//
*
Apache
$dist
[
'
apache
'
][
'
user
'
]
=
'
www-data
'
;
$dist
[
'
apache
'
][
'
group
'
]
=
'
www-data
'
;
$dist
[
'
apache
'
][
'
init_script
'
]
=
'
apache2
'
;
$dist
[
'
apache
'
][
'
version
'
]
=
'
2.2
'
;
$dist
[
'
apache
'
][
'
vhost_dist_dir
'
]
=
'
/etc/apache2/sites-available
'
;
$dist
[
'
apache
'
][
'
vhost_dist_enabled_dir
'
]
=
'
/etc/apache2/sites-enabled
'
;
// Postfix
$dist
[
"
postfix
"
][
"
config_dir
"
]
=
"
/etc/postfix
"
;
$dist
[
"
postfix
"
][
"
init_script
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
user
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
group
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
vmail_userid
"
]
=
"
5000
"
;
$dist
[
"
postfix
"
][
"
vmail_username
"
]
=
"
vmail
"
;
$dist
[
"
postfix
"
][
"
vmail_groupid
"
]
=
"
5000
"
;
$dist
[
"
postfix
"
][
"
vmail_groupname
"
]
=
"
vmail
"
;
$dist
[
"
postfix
"
][
"
vmail_mailbox_base
"
]
=
"
/home/vmail
"
;
//
*
Postfix
$dist
[
'
postfix
'
][
'
config_dir
'
]
=
'
/etc/postfix
'
;
$dist
[
'
postfix
'
][
'
init_script
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
user
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
group
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
vmail_userid
'
]
=
'
5000
'
;
$dist
[
'
postfix
'
][
'
vmail_username
'
]
=
'
vmail
'
;
$dist
[
'
postfix
'
][
'
vmail_groupid
'
]
=
'
5000
'
;
$dist
[
'
postfix
'
][
'
vmail_groupname
'
]
=
'
vmail
'
;
$dist
[
'
postfix
'
][
'
vmail_mailbox_base
'
]
=
'
/home/vmail
'
;
// Getmail
$dist
[
"
getmail
"
][
"
config_dir
"
]
=
"
/etc/getmail
"
;
$dist
[
"
getmail
"
][
"
program
"
]
=
"
/usr/bin/getmail
"
;
//
*
Getmail
$dist
[
'
getmail
'
][
'
config_dir
'
]
=
'
/etc/getmail
'
;
$dist
[
'
getmail
'
][
'
program
'
]
=
'
/usr/bin/getmail
'
;
// Courier
$dist
[
"
courier
"
][
"
config_dir
"
]
=
"
/etc/courier
"
;
$dist
[
"
courier
"
][
"
courier-authdaemon
"
]
=
"
courier-authdaemon
"
;
$dist
[
"
courier
"
][
"
courier-imap
"
]
=
"
courier-imap
"
;
$dist
[
"
courier
"
][
"
courier-imap-ssl
"
]
=
"
courier-imap-ssl
"
;
$dist
[
"
courier
"
][
"
courier-pop
"
]
=
"
courier-pop
"
;
$dist
[
"
courier
"
][
"
courier-pop-ssl
"
]
=
"
courier-pop-ssl
"
;
//
*
Courier
$dist
[
'
courier
'
][
'
config_dir
'
]
=
'
/etc/courier
'
;
$dist
[
'
courier
'
][
'
courier-authdaemon
'
]
=
'
courier-authdaemon
'
;
$dist
[
'
courier
'
][
'
courier-imap
'
]
=
'
courier-imap
'
;
$dist
[
'
courier
'
][
'
courier-imap-ssl
'
]
=
'
courier-imap-ssl
'
;
$dist
[
'
courier
'
][
'
courier-pop
'
]
=
'
courier-pop
'
;
$dist
[
'
courier
'
][
'
courier-pop-ssl
'
]
=
'
courier-pop-ssl
'
;
// SASL
$dist
[
"
saslauthd
"
][
"
config
"
]
=
"
/etc/default/saslauthd
"
;
$dist
[
"
saslauthd
"
][
"
init_script
"
]
=
"
saslauthd
"
;
//
*
SASL
$dist
[
'
saslauthd
'
][
'
config
'
]
=
'
/etc/default/saslauthd
'
;
$dist
[
'
saslauthd
'
][
'
init_script
'
]
=
'
saslauthd
'
;
// Amavisd
$dist
[
"
amavis
"
][
"
config_dir
"
]
=
"
/etc/amavis
"
;
$dist
[
"
amavis
"
][
"
init_script
"
]
=
"
amavis
"
;
//
*
Amavisd
$dist
[
'
amavis
'
][
'
config_dir
'
]
=
'
/etc/amavis
'
;
$dist
[
'
amavis
'
][
'
init_script
'
]
=
'
amavis
'
;
// ClamAV
$dist
[
"
clamav
"
][
"
init_script
"
]
=
"
clamav-daemon
"
;
//
*
ClamAV
$dist
[
'
clamav
'
][
'
init_script
'
]
=
'
clamav-daemon
'
;
// Pureftpd
$dist
[
"
pureftpd
"
][
"
config_dir
"
]
=
"
/etc/pure-ftpd
"
;
$dist
[
"
pureftpd
"
][
"
init_script
"
]
=
"
pure-ftpd-mysql
"
;
//
*
Pureftpd
$dist
[
'
pureftpd
'
][
'
config_dir
'
]
=
'
/etc/pure-ftpd
'
;
$dist
[
'
pureftpd
'
][
'
init_script
'
]
=
'
pure-ftpd-mysql
'
;
// MyDNS
$dist
[
"
mydns
"
][
"
config_dir
"
]
=
"
/etc
"
;
$dist
[
"
mydns
"
][
"
init_script
"
]
=
"
mydns
"
;
//
*
MyDNS
$dist
[
'
mydns
'
][
'
config_dir
'
]
=
'
/etc
'
;
$dist
[
'
mydns
'
][
'
init_script
'
]
=
'
mydns
'
;
?>
?>
\ No newline at end of file
install/dist/conf/gentoo.conf.php
View file @
4fe86d05
<?php
/*
Distribution specific settings
*/
//*** Gentoo default settings
// Main
$dist
[
"
init_scripts
"
]
=
"
/etc/init.d
"
;
$dist
[
"
runlevel
"
]
=
"
/etc
"
;
$dist
[
"
shells
"
]
=
"
/etc/shells
"
;
$dist
[
"
cron_tab
"
]
=
"
/var/spool/cron/crontabs/root
"
;
$dist
[
"
pam
"
]
=
"
/etc/pam.d
"
;
//
*
Main
$dist
[
'
init_scripts
'
]
=
'
/etc/init.d
'
;
$dist
[
'
runlevel
'
]
=
'
/etc
'
;
$dist
[
'
shells
'
]
=
'
/etc/shells
'
;
$dist
[
'
cron_tab
'
]
=
'
/var/spool/cron/crontabs/root
'
;
$dist
[
'
pam
'
]
=
'
/etc/pam.d
'
;
// MySQL
$dist
[
"
mysql
"
][
"
init_script
"
]
=
"
mysql
"
;
//
*
MySQL
$dist
[
'
mysql
'
][
'
init_script
'
]
=
'
mysql
'
;
// Apache
$dist
[
"
apache
"
][
"
user
"
]
=
"
apache
"
;
$dist
[
"
apache
"
][
"
group
"
]
=
"
apache
"
;
$dist
[
"
apache
"
][
"
init_script
"
]
=
"
apache2
"
;
$dist
[
"
apache
"
][
"
version
"
]
=
"
2.2
"
;
$dist
[
"
apache
"
][
"
vhost_dist_dir
"
]
=
"
/etc/apache2/vhosts.d
"
;
$dist
[
"
apache
"
][
"
vhost_dist_enabled_dir
"
]
=
"
/etc/apache2/vhosts.d
"
;
//
*
Apache
$dist
[
'
apache
'
][
'
user
'
]
=
'
apache
'
;
$dist
[
'
apache
'
][
'
group
'
]
=
'
apache
'
;
$dist
[
'
apache
'
][
'
init_script
'
]
=
'
apache2
'
;
$dist
[
'
apache
'
][
'
version
'
]
=
'
2.2
'
;
$dist
[
'
apache
'
][
'
vhost_dist_dir
'
]
=
'
/etc/apache2/vhosts.d
'
;
$dist
[
'
apache
'
][
'
vhost_dist_enabled_dir
'
]
=
'
/etc/apache2/vhosts.d
'
;
// Postfix
$dist
[
"
postfix
"
][
"
config_dir
"
]
=
"
/etc/postfix
"
;
$dist
[
"
postfix
"
][
"
init_script
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
user
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
group
"
]
=
"
postfix
"
;
$dist
[
"
postfix
"
][
"
vmail_userid
"
]
=
"
5000
"
;
$dist
[
"
postfix
"
][
"
vmail_username
"
]
=
"
vmail
"
;
$dist
[
"
postfix
"
][
"
vmail_groupid
"
]
=
"
5000
"
;
$dist
[
"
postfix
"
][
"
vmail_groupname
"
]
=
"
vmail
"
;
$dist
[
"
postfix
"
][
"
vmail_mailbox_base
"
]
=
"
/home/vmail
"
;
//
*
Postfix
$dist
[
'
postfix
'
][
'
config_dir
'
]
=
'
/etc/postfix
'
;
$dist
[
'
postfix
'
][
'
init_script
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
user
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
group
'
]
=
'
postfix
'
;
$dist
[
'
postfix
'
][
'
vmail_userid
'
]
=
'
5000
'
;
$dist
[
'
postfix
'
][
'
vmail_username
'
]
=
'
vmail
'
;
$dist
[
'
postfix
'
][
'
vmail_groupid
'
]
=
'
5000
'
;
$dist
[
'
postfix
'
][
'
vmail_groupname
'
]
=
'
vmail
'
;
$dist
[
'
postfix
'
][
'
vmail_mailbox_base
'
]
=
'
/home/vmail
'
;
// Getmail
$dist
[
"
getmail
"
][
"
config_dir
"
]
=
"
/etc/getmail
"
;
$dist
[
"
getmail
"
][
"
program
"
]
=
"
/usr/bin/getmail
"
;
//
*
Getmail
$dist
[
'
getmail
'
][
'
config_dir
'
]
=
'
/etc/getmail
'
;
$dist
[
'
getmail
'
][
'
program
'
]
=
'
/usr/bin/getmail
'
;
// Courier
$dist
[
"
courier
"
][
"
config_dir
"
]
=
"
/etc/courier
"
;
$dist
[
"
courier
"
][
"
courier-authdaemon
"
]
=
"
courier-authlib
"
;
$dist
[
"
courier
"
][
"
courier-imap
"
]
=
"
courier-imapd
"
;
$dist
[
"
courier
"
][
"
courier-imap-ssl
"
]
=
"
courier-imapd-ssl
"
;
$dist
[
"
courier
"
][
"
courier-pop
"
]
=
"
courier-pop3d
"
;
$dist
[
"
courier
"
][
"
courier-pop-ssl
"
]
=
"
courier-pop3d-ssl
"
;
//
*
Courier
$dist
[
'
courier
'
][
'
config_dir
'
]
=
'
/etc/courier
'
;
$dist
[
'
courier
'
][
'
courier-authdaemon
'
]
=
'
courier-authlib
'
;
$dist
[
'
courier
'
][
'
courier-imap
'
]
=
'
courier-imapd
'
;
$dist
[
'
courier
'
][
'
courier-imap-ssl
'
]
=
'
courier-imapd-ssl
'
;
$dist
[
'
courier
'
][
'
courier-pop
'
]
=
'
courier-pop3d
'
;
$dist
[
'
courier
'
][
'
courier-pop-ssl
'
]
=
'
courier-pop3d-ssl
'
;
// SASL
$dist
[
"
saslauthd
"
][
"
config
"
]
=
"
/etc/default/saslauthd
"
;
$dist
[
"
saslauthd
"
][
"
init_script
"
]
=
"
saslauthd
"
;
//
*
SASL
$dist
[
'
saslauthd
'
][
'
config
'
]
=
'
/etc/default/saslauthd
'
;
$dist
[
'
saslauthd
'
][
'
init_script
'
]
=
'
saslauthd
'
;
// Amavisd
$dist
[
"
amavis
"
][
"
config_dir
"
]
=
"
/etc/amavis
"
;
$dist
[
"
amavis
"
][
"
init_script
"
]
=
"
amavisd
"
;
//
*
Amavisd
$dist
[
'
amavis
'
][
'
config_dir
'
]
=
'
/etc/amavis
'
;
$dist
[
'
amavis
'
][
'
init_script
'
]
=
'
amavisd
'
;
// ClamAV
$dist
[
"
clamav
"
][
"
init_script
"
]
=
"
clamd
"
;
//
*
ClamAV
$dist
[
'
clamav
'
][
'
init_script
'
]
=
'
clamd
'
;
// Pureftpd
$dist
[
"
pureftpd
"
][
"
config_dir
"
]
=
"
/etc/pure-ftpd
"
;
$dist
[
"
pureftpd
"
][
"
init_script
"
]
=
"
pure-ftpd
"
;
//
*
Pureftpd
$dist
[
'
pureftpd
'
][
'
config_dir
'
]
=
'
/etc/pure-ftpd
'
;
$dist
[
'
pureftpd
'
][
'
init_script
'
]
=
'
pure-ftpd
'
;
// MyDNS
$dist
[
"
mydns
"
][
"
config_dir
"
]
=
"
/etc
"
;
$dist
[
"
mydns
"
][
"
init_script
"
]
=
"
mydns
"
;
//
*
MyDNS
$dist
[
'
mydns
'
][
'
config_dir
'
]
=
'
/etc
'
;
$dist
[
'
mydns
'
][
'
init_script
'
]
=
'
mydns
'
;
?>
?>
\ No newline at end of file
install/install.php
View file @
4fe86d05
...
...
@@ -76,8 +76,9 @@ swriteln($inst->lng(' Following will be a few questions for primary configura
swriteln
(
$inst
->
lng
(
' Default values are in [brackets] and can be accepted with <ENTER>.'
));
swriteln
(
$inst
->
lng
(
' Tap in "quit" (without the quotes) to stop the installer.'
.
"
\n\n
"
));
//** Check log file is writable (probably not root or sudo)
if
(
!
is_writable
(
ISPC_LOG_FILE
)){
die
(
"ERROR: Cannot write to the log file '"
.
ISPC_LOG_FILE
.
"'. Are you root ?
\n\n
"
);
die
(
"ERROR: Cannot write to the log file '"
.
ISPC_LOG_FILE
.
"'. Are you root
or sudo
?
\n\n
"
);
}
//** Select the language
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment