Permalink
Browse files

Fixed some issues with the serverconfiguration. (Bug #4)

git-svn-id: file:///var/svn/trunk/syscp@58 45fdb5c4-e40b-0410-b369-9aab4fe9a275
  • Loading branch information...
flol committed Nov 4, 2004
1 parent 6fa739e commit e5383be101dcb2ba4417a78f775cd16dc010715d
View
@@ -37,8 +37,8 @@
'label' => 'Apache Webserver (HTTP)',
'commands' => Array
(
- 'echo "Include /etc/apache/vhosts.conf" >> /etc/apache/httpd.conf',
- 'touch /etc/apache/vhosts.conf',
+ 'echo "Include '.$settings['system']['apacheconf_directory'].'" >> /etc/apache/httpd.conf',
+ 'touch '.$settings['system']['apacheconf_directory'].'vhosts.conf',
'mkdir -p '.$settings['system']['documentroot_prefix'],
'mkdir -p '.$settings['system']['logfiles_directory']
),
@@ -56,8 +56,8 @@
),
'commands' => Array
(
- 'echo "include \"/etc/bind/syscp_bind.conf\";" >> /etc/bind/named.conf',
- 'touch /etc/bind/syscp_bind.conf'
+ 'echo "include \"'.$settings['system']['bindconf_directory'].'syscp_bind.conf\";" >> /etc/bind/named.conf',
+ 'touch '.$settings['system']['bindconf_directory'].'syscp_bind.conf'
),
'restart' => Array
(
@@ -145,8 +145,8 @@
'label' => 'Apache Webserver (HTTP)',
'commands' => Array
(
- 'echo "Include /etc/apache/vhosts.conf" >> /etc/apache/httpd.conf',
- 'touch /etc/apache/vhosts.conf',
+ 'echo "Include '.$settings['system']['apacheconf_directory'].'" >> /etc/apache/httpd.conf',
+ 'touch '.$settings['system']['apacheconf_directory'].'vhosts.conf',
'mkdir -p '.$settings['system']['documentroot_prefix'],
'mkdir -p '.$settings['system']['logfiles_directory']
),
@@ -164,8 +164,8 @@
),
'commands' => Array
(
- 'echo "include \"/etc/bind/syscp_bind.conf\";" >> /etc/bind/named.conf',
- 'touch /etc/bind/syscp_bind.conf'
+ 'echo "include \"'.$settings['system']['bindconf_directory'].'syscp_bind.conf\";" >> /etc/bind/named.conf',
+ 'touch '.$settings['system']['bindconf_directory'].'syscp_bind.conf'
),
'restart' => Array
(
@@ -5,6 +5,7 @@ myhostname = <SERVERNAME>
mydomain = <SERVERNAME>
mydestination = $myhostname $mydomain localhost localhost.$mydomain
mynetworks = 127.0.0.0/8
+alias_maps = $alias_database
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
@@ -11,6 +11,7 @@ mydomain = <SERVERNAME>
myhostname = <SERVERNAME>
mydestination = $myhostname, localhost.$mydomain, $mydomain, $transport_maps
mynetworks = 127.0.0.1/8
+alias_maps = $alias_database
virtual_mailbox_limit = 20480000
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
@@ -25,4 +26,3 @@ smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, rej
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
message_size_limit = 20480000
-

0 comments on commit e5383be

Please sign in to comment.