service-core/service/install.mjs

11 lines
No EOL
154 B
JavaScript

import svc from './service.mjs'
svc.on('install',function(){
svc.start();
});
svc.on('alreadyinstalled',function(){
svc.start();
});
svc.install();