File froxlor.sql.patch of Package froxlor

--- install/froxlor.sql.orig	2013-10-08 14:56:41.968858802 +0200
+++ install/froxlor.sql	2013-10-08 14:59:18.843261841 +0200
@@ -1,3 +1,13 @@
+# change path from /var to /srv
+# webspaces: /srv/customers/webs
+# logs: /srv/customers/logs/
+# mails: /srv/customers/mail/
+# tmp: /srv/customers/tmp
+# cgi:  /srv/www/cgi-bin/
+# fcgi: /srv/www/php-fcgi-scripts
+# backup: /srv/customers/backups/
+# asemen 20131008
+
 CREATE TABLE `ftp_groups` (
   `id` int(20) NOT NULL auto_increment,
   `groupname` varchar(60) NOT NULL default '',
@@ -393,7 +403,7 @@
 	('customredirect', 'enabled', '1'),
 	('customredirect', 'default', '1'),
 	('perl', 'suexecworkaround', '0'),
-	('perl', 'suexecpath', '/var/www/cgi-bin/'),
+	('perl', 'suexecpath', '/srv/www/cgi-bin/'),
 	('login', 'domain_login', '0'),
 	('login', 'maxloginattempts', '3'),
 	('login', 'deactivatetime', '900'),
@@ -406,26 +416,26 @@
 	('phpfpm', 'min_spare_servers', '5'),
 	('phpfpm', 'max_spare_servers', '35'),
 	('phpfpm', 'max_requests', '0'),
-	('phpfpm', 'tmpdir', '/var/customers/tmp/'),
+	('phpfpm', 'tmpdir', '/srv/customers/tmp/'),
 	('phpfpm', 'peardir', '/usr/share/php/:/usr/share/php5/'),
 	('phpfpm', 'enabled_ownvhost', '0'),
 	('phpfpm', 'vhost_httpuser', 'froxlorlocal'),
 	('phpfpm', 'vhost_httpgroup', 'froxlorlocal'),
 	('phpfpm', 'idle_timeout', '30'),
-	('phpfpm', 'aliasconfigdir', '/var/www/php-fpm/'),
+	('phpfpm', 'aliasconfigdir', '/srv/www/php-fpm/'),
 	('phpfpm', 'defaultini', '1'),
 	('phpfpm', 'vhost_defaultini', '1'),
 	('nginx', 'fastcgiparams', '/etc/nginx/fastcgi_params'),
 	('system', 'lastaccountnumber', '0'),
 	('system', 'lastguid', '9999'),
-	('system', 'documentroot_prefix', '/var/customers/webs/'),
-	('system', 'logfiles_directory', '/var/customers/logs/'),
+	('system', 'documentroot_prefix', '/srv/customers/webs/'),
+	('system', 'logfiles_directory', '/srv/customers/logs/'),
 	('system', 'ipaddress', 'SERVERIP'),
 	('system', 'apachereload_command', '/etc/init.d/apache reload'),
 	('system', 'last_traffic_run', '000000'),
 	('system', 'vmail_uid', '2000'),
 	('system', 'vmail_gid', '2000'),
-	('system', 'vmail_homedir', '/var/customers/mail/'),
+	('system', 'vmail_homedir', '/srv/customers/mail/'),
 	('system', 'vmail_maildirname', 'Maildir'),
 	('system', 'bind_enable', '1'),
 	('system', 'bindconf_directory', '/etc/bind/'),
@@ -446,8 +456,8 @@
 	('system', 'apacheconf_htpasswddir', '/etc/apache/htpasswd/'),
 	('system', 'webalizer_quiet', '2'),
 	('system', 'last_archive_run', '000000'),
-	('system', 'mod_fcgid_configdir', '/var/www/php-fcgi-scripts'),
-	('system', 'mod_fcgid_tmpdir', '/var/customers/tmp'),
+	('system', 'mod_fcgid_configdir', '/srv/www/php-fcgi-scripts'),
+	('system', 'mod_fcgid_tmpdir', '/srv/customers/tmp'),
 	('system', 'ssl_cert_file', '/etc/apache2/apache2.pem'),
 	('system', 'use_ssl', '0'),
 	('system', 'openssl_cnf', '[ req ]\r\ndefault_bits = 1024\r\ndistinguished_name = req_distinguished_name\r\nattributes = req_attributes\r\nprompt = no\r\noutput_password =\r\ninput_password =\r\n[ req_distinguished_name ]\r\nC = DE\r\nST = froxlor\r\nL = froxlor    \r\nO = Testcertificate\r\nOU = froxlor        \r\nCN = @@domain_name@@\r\nemailAddress = @@email@@    \r\n[ req_attributes ]\r\nchallengePassword =\r\n'),
@@ -481,7 +491,7 @@
 	('system', 'report_trafficmax', '90'),
 	('system', 'validate_domain', '1'),
 	('system', 'backup_enabled', '0'),
-	('system', 'backup_dir', '/var/customers/backups/'),
+	('system', 'backup_dir', '/srv/customers/backups/'),
 	('system', 'backup_mysqldump_path', '/usr/bin/mysqldump'),
 	('system', 'backup_count', '1'),
 	('system', 'backup_bigfile', '1'),
openSUSE Build Service is sponsored by