Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 898 Bytes

UPGRADING.md

File metadata and controls

24 lines (19 loc) · 898 Bytes

Upgrading

2.x.x to 3.x.x

  1. Stop boss and uninstall

    $ sudo bs kill
    $ sudo npm remove -g process-boss
    
  2. Rename your configuration files and directories (all .key .json etc files should come too):

    • /etc/boss becomes /etc/guvnor
    • /etc/boss/bossrc becomes /etc/guvnor/guvnor
    • ~/.config/boss/bossweb becomes ~/.config/guvnor/guvnor-web
    • ~/.config/boss/bossweb-hosts becomes ~/.config/guvnor/guvnor-web-hosts
    • ~/.config/boss/bossweb-users becomes ~/.config/guvnor/guvnor-web-users
  3. If you have a [boss] section in /etc/guvnor/guvnor, rename it [guvnor]

  4. Rename run/log/app directories

    • /var/log/boss becomes /var/log/guvnor
    • /var/run/boss becomes /var/run/guvnor
    • /usr/local/boss becomes /usr/local/guvnor
  5. Install guvnor and start

    $ sudo npm install -g guvnor
    $ sudo guv