code: function setupSystemV (name, options, callback) {
    options.stdOut = (options.logDir && `${options.logDir}/${name}-out.log`) || '/dev/null'
    options.stdErr = (options.logDir && `${options.logDir}/${name}-err.log`) || '&1'
  
    const script = initdTemplate(options)
  
    if (options.dryRun) {
      console.log(script)
      return
    }
  
    const filepath = `/etc/init.d/${name}`
    console.log(`Installing service on: ${filepath}`)
    fs.exists(filepath, exists => {
      if(!exists) {
        fs.writeFile(filepath,script, err => {
          if (err) {
            callback(err)
            return
          }
  
          fs.chmod(filepath,'755', err => {
            if (err) {
              callback(err)
              return
            }
  
            callback(err, 'init.d service registered succesfully')
          })
        })
      } else {
        callback('Service already exists, please uninstall first')
      }
    })
  }
docs: Installs a service file to /etc/init.d/
  
  It deals with logs, restarts and by default points
  to the normal system install