This repository has been archived by the owner on Apr 11, 2018. It is now read-only.
Releases: maxrimue/node-autostart
Releases · maxrimue/node-autostart
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.0.1
v2.0.0
- New
-f/--find
option for thedoctor
command
Using the-f/--find
option, the doctor command finds all enabled services first, and then evaluates all paths that are used for each service, to display you all services that belong to broken paths. This is useful if you've enabled autostart for a project you've now deleted. - Switched
err
andisEnabled
callback parameters forisAutostartEnabled()
Now, a proper example for theisAutostartEnabled()
looks like this:
var autostart = require('node-autostart');
autostart.isAutostartEnabled(myModuleName, function(err, isEnabled) {
if(err) {
console.error(err);
}
console.log('Autostart is', isEnabled ? 'enabled' : 'disabled');
};
- Further tweaked tests and coverage