Skip to content

Commit

Permalink
added licence field
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 20, 2015
1 parent 8bad95b commit 7f6f602
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Tableflip
Copyright (c) 2015 Tableflip

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@

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/guvnorrc`
* `/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`
* If you have a `[boss]` section in `/etc/guvnor/guvnor`, rename it `[guvnor]`
3. Rename run/log/app directories
* `/var/log/boss` becomes `/var/log/guvnor`
* `/var/run/boss` becomes `/var/run/guvnor`
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var Container = require('wantsit').Container,
var logLevel = (process.argv.indexOf('--verbose') != -1 || process.argv.indexOf('-v') != -1) ? 'debug': 'warn'

var container = new Container()
container.register('config', require('boss-rc')('guvnor/guvnor', path.resolve(__dirname, '../../guvnorrc')))
container.register('config', require('boss-rc')('guvnor/guvnor', path.resolve(__dirname, '../../guvnor')))
container.register('logger', new winston.Logger({
transports: [
new winston.transports.Console({
Expand Down Expand Up @@ -45,7 +45,7 @@ process.on('uncaughtException', function(error) {
if(logLevel == 'debug') {
logger.error('Uncaught exception', error.message)
logger.error(error.stack)
} else {
} else if(error.message && error.message != 'undefined') {
logger.error(error.message)
}

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "guvnor",
"description": "A node process manager that isn't spanners all the way down",
"version": "2.6.3",
"license": "MIT",
"prefer-global": true,
"homepage": "https://github.com/tableflip/guvnor",
"repository": {
Expand Down

0 comments on commit 7f6f602

Please sign in to comment.