Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitbucket.org/kardianos/service2beta

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket.org/kardianos/service2beta

  • v0.0.0-20150119021053-74aa2e16d565
  • Source
  • Go
  • Socket score

Version published
Created
Source

service (BETA)

service will install / un-install, start / stop, and run a program as a service (daemon). Currently supports Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd.

moved to https://github.com/kardianos/service

Windows controls services by setting up callbacks that is non-trivial. This is very different then other systems. This package provides the same API despite the substantial differences. It also can be used to detect how a program is called, from an interactive terminal or from a service manager.

TODO

Need to test the Interactive test for the following platforms:

  • SysV
  • systemd system and user service
  • Launchd system and user service

The following items need to be done:

  • Determine if systemd has a launchd equivalent user service.
  • Fix Interactive test for user services.
  • Document that windows doesn't have a user service.
  • Document that upstart's user service definition changes over versions. Do not support.
  • For Linux platforms and Launchd add:
    • UserName
    • Arguments
    • WorkingDirectory
    • ChRoot
  • Determine the best way to document the Config.Option values per platform.
    • Should some of the current parameters like "ChRoot" and "WorkingDirectory" move to "Option" map?

FAQs

Package last updated on 19 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc