Changeset 7598


Ignore:
Timestamp:
Jun 29, 2018, 9:45:48 AM (12 months ago)
Author:
hectorgh
Message:

making sure n4d gets restarted a re-initialization

Location:
zero-server-wizard/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zero-server-wizard/trunk/fuentes/debian/changelog

    r6075 r7598  
     1zero-server-wizard (0.12.1) xenial; urgency=high
     2
     3  * Making sure n4d gets restarted after a re-initialization
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Fri, 29 Jun 2018 09:44:55 +0200
     6
    17zero-server-wizard (0.12) xenial; urgency=high
    28
  • zero-server-wizard/trunk/fuentes/install-files/usr/share/n4d/python-plugins/ZeroServerWizardManager.py

    r4399 r7598  
    2626                os.system("systemctl restart smbd")
    2727               
    28                 #Fix firefox default config
    29                 serverProperties="/usr/share/lliurex-firefox-settings/lliurex-firefox.properties"
    30                 defaultProperties="/etc/firefox/lliurex-firefox.properties"
    31                 if os.path.exists(defaultProperties):
    32                         os.remove (defaultProperties)
    33                 os.symlink(serverProperties,defaultProperties)
     28                try:
     29                        #Fix firefox default config
     30                        serverProperties="/usr/share/lliurex-firefox-settings/lliurex-firefox.properties"
     31                        defaultProperties="/etc/firefox/lliurex-firefox.properties"
     32                        if os.path.exists(defaultProperties):
     33                                os.remove (defaultProperties)
     34                        os.symlink(serverProperties,defaultProperties)
     35                except:
     36                        pass
    3437               
    3538                p=multiprocessing.Process(target=self._t_restart)
Note: See TracChangeset for help on using the changeset viewer.