Firstly, this package was for me, only for one - enabling easy start https://github.com/brozeph/simple-socks.git
npm install autostart-managerFirstly, this package was for me, only for one - enabling easy start https://github.com/brozeph/simple-socks.git
But i note that i sometimes meet the problem of automaticly starting my script on launch of system. And every time I have to create a script in init.d .. register it .. So i am going to add cli functional and support of another init systems
```
npm install autostart-manager
Mac:
* launchd
`javascript
const AutostartManager = require('autostart-manager'),
var manager = new AutostartManager({
name: 'simple-socks'
})
// Add current script to init system
function enableAutostart(){
manager.enable()
}
// Remove current script from init system
function disableAutostart(){
manager.disable()
}
``