Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immudb deamon #136

Closed
vchain-us-mgmt opened this issue Apr 28, 2020 · 1 comment
Closed

immudb deamon #136

vchain-us-mgmt opened this issue Apr 28, 2020 · 1 comment
Assignees
Labels
Component::immudb Server component of immudb enhancement New feature or request

Comments

@vchain-us-mgmt
Copy link
Contributor

It must possible to run immudb in the background. For that, we need to deamonize the immudb service for all OS (e.g. no Linux nohup).
On Windows, this means creating a service on the service registry that can be started and stopped.

Some example of service demonizing are available here:

https://github.com/influxdata/telegraf/blob/817c9a69a94060aece50889c27e7c821a36a6530/plugins/inputs/win_services/win_services.go

In general:
https://github.com/influxdata/telegraf/blob/819481b1955747359f2109794c8df4d9c24c9e60/cmd/telegraf/telegraf.go

For Windows:
https://github.com/influxdata/telegraf/blob/819481b1955747359f2109794c8df4d9c24c9e60/cmd/telegraf/telegraf_windows.go

Service Install:
https://github.com/influxdata/telegraf/blob/cc6c77f3012f2407780bd037a36dbaf9c5cac5a2/scripts/post-install.sh

An example of a daemon package for use with Go (golang) services with no dependencies is available here:
https://github.com/takama/daemon

@vchain-us-mgmt vchain-us-mgmt added enhancement New feature or request Component::immudb Server component of immudb labels Apr 28, 2020
@padurean padurean assigned mmeloni and unassigned padurean Apr 28, 2020
@filippodm
Copy link

add a command to run immudb as a deamon, something "immudb -d"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component::immudb Server component of immudb enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants