exports.remove = function(cb) { satan.ensure_destroyed(daemon_opts.key, function(err) { if (err || !is_windows) return cb(err); fs.unlink(service_run_path, function(err) { // if (err) return cb(err); cb(); // don't mind if it wasn't there. }); }); }
exports.remove_watcher = function(cb) { satan.ensure_destroyed(watcher_opts.key, function(err) { return cb && cb(err); }); }