service-core/service/uninstall.mjs

11 lines
267 B
JavaScript
Raw Normal View History

2020-09-01 17:31:38 +00:00
import svc from './service.mjs'
// Listen for the "install" event, which indicates the
// process is available as a service.
svc.on('uninstall',function(){
console.log('Uninstall complete.');
console.log('The service exists: ',svc.exists);
});
svc.uninstall();