@@ -278,8 +278,8 @@ def post_pref(self, apt_packages, packages):
278278 # 22222 port settings
279279 Log .debug (self , 'Writting the nginx configuration to '
280280 'file /etc/nginx/sites-available/'
281- '22222.conf ' )
282- ee_nginx = open ('/etc/nginx/sites-available/22222.conf ' ,
281+ '22222' )
282+ ee_nginx = open ('/etc/nginx/sites-available/22222' ,
283283 encoding = 'utf-8' , mode = 'w' )
284284 self .app .render ((data ), '22222.mustache' ,
285285 out = ee_nginx )
@@ -297,10 +297,10 @@ def post_pref(self, apt_packages, packages):
297297 # Create Symbolic link for 22222
298298 EEFileUtils .create_symlink (self , ['/etc/nginx/'
299299 'sites-available/'
300- '22222.conf ' ,
300+ '22222' ,
301301 '/etc/nginx/'
302302 'sites-enabled/'
303- '22222.conf ' ])
303+ '22222' ])
304304 # Create log and cert folder and softlinks
305305 if not os .path .exists ('{0}22222/logs'
306306 .format (EEVariables .ee_webroot )):
@@ -503,7 +503,7 @@ def post_pref(self, apt_packages, packages):
503503 "performance_schema = 0\" "
504504 "/etc/mysql/my.cnf" )
505505
506- EEGit .add (self , ["/etc/mysql" ], msg = "Adding Nginx into Git" )
506+ EEGit .add (self , ["/etc/mysql" ], msg = "Adding MySQL into Git" )
507507 EEService .reload_service (self , 'mysql' )
508508
509509 if set (EEVariables .ee_mail ).issubset (set (apt_packages )):
@@ -1052,17 +1052,17 @@ def post_pref(self, apt_packages, packages):
10521052
10531053 Log .debug (self , 'Writting the nginx configuration for '
10541054 'RoundCubemail' )
1055- ee_rc = open ('/etc/nginx/sites-available/webmail.conf ' ,
1055+ ee_rc = open ('/etc/nginx/sites-available/webmail' ,
10561056 encoding = 'utf-8' , mode = 'w' )
10571057 self .app .render ((data ), 'virtualconf.mustache' ,
10581058 out = ee_rc )
10591059 ee_rc .close ()
10601060
1061- # Create Symbolic link for webmail.conf
1061+ # Create Symbolic link for webmail
10621062 EEFileUtils .create_symlink (self , ['/etc/nginx/sites-available'
1063- '/webmail.conf ' ,
1063+ '/webmail' ,
10641064 '/etc/nginx/sites-enabled/'
1065- 'webmail.conf ' ])
1065+ 'webmail' ])
10661066 # Create log folder and softlinks
10671067 if not os .path .exists ('{0}roundcubemail/logs'
10681068 .format (EEVariables .ee_webroot )):
@@ -1365,20 +1365,20 @@ def remove(self):
13651365 .format (EEVariables .ee_webroot )]
13661366 if self .app .pargs .adminer :
13671367 Log .debug (self , "Removing package variable of Adminer " )
1368- packages = packages + ['{0}22222/htdocs/db/Adminer '
1368+ packages = packages + ['{0}22222/htdocs/db/adminer '
13691369 .format (EEVariables .ee_webroot )]
13701370 if self .app .pargs .utils :
13711371 Log .debug (self , "Removing package variable of utils " )
13721372 packages = packages + ['{0}22222/htdocs/php/webgrind/'
13731373 .format (EEVariables .ee_webroot ),
13741374 '{0}22222/htdocs/cache/opcache'
13751375 .format (EEVariables .ee_webroot ),
1376- '{0}22222/htdocs/cache/Nginx /'
1376+ '{0}22222/htdocs/cache/nginx /'
13771377 'clean.php' .format (EEVariables .ee_webroot ),
1378- '{0}22222/htdocs/cache/Memcache '
1378+ '{0}22222/htdocs/cache/memcache '
13791379 .format (EEVariables .ee_webroot ),
13801380 '/usr/bin/pt-query-advisor' ,
1381- '{0}22222/htdocs/db/Anemometer '
1381+ '{0}22222/htdocs/db/anemometer '
13821382 .format (EEVariables .ee_webroot )]
13831383
13841384 if len (apt_packages ):
0 commit comments