Skip to content

Conversation

@alekti
Copy link

@alekti alekti commented Mar 30, 2017

Also includes a bit of non-invasive cleanup.

Copy link
Owner

@coreybutler coreybutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good... there were a couple of spots with logging the commands. I didn't know if that was for debugging purposes or a "feature". I'm OK with it either way, but I thought I'd mention it in case you wanted to modify anything before I merge this.

}
var me = this;
var cmd = 'systemctl enable '+this.label;
console.log('Running %s...', cmd);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be here or was it for debugging?

}
var me = this;
var cmd = this._configFilePath()+' stop';
console.log('Running %s...', cmd);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be here or was it for debugging?

cmd = '/sbin/chkconfig '+this.label+' off';
}
var me2 = me;
console.log('Running %s...', cmd);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be here or was it for debugging?

@alekti
Copy link
Author

alekti commented Apr 5, 2017

The logs were intentional since it seemed inconsistent to log for some execs but not other very similar ones.

@PauloFerreira25
Copy link

Pls, merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants