Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Feature Request (openzwave-server daemonize mode) #11

Open
hellracer opened this issue Dec 13, 2015 · 3 comments
Open

Feature Request (openzwave-server daemonize mode) #11

hellracer opened this issue Dec 13, 2015 · 3 comments
Assignees

Comments

@hellracer
Copy link

Hi Willem,

I believed we have a small discussion on this I'm going to ask this again as a place holder for future development, right now in my use case the openzwave-server binary has been invoke under screen session which is great, but daemonized mode is the way to go in my humbly opinion.

I don't know if this request justify the amount of time to code and make this change, I think this is just worth a shot :), Please close this if request if you think it's not that worth.

@hellracer
Copy link
Author

alternatively I think we can run this using djb daemontools (http://cr.yp.to/daemontools.html) or xinetd if I can figure out how i'll let you know so that we can create a small howto to make this happen, but still we need some small code change so that the console output should be written on a syslog instead of stdout.

@wburgers
Copy link
Owner

Hi,

Right I remember. I run my server under screen as well.
I have no experience creating daemonized apps but it is sure worth looking at.

Let me know what you find out.
I'll put it on milestone/release 0.2.1 for now.
I don't know if it is all doable in the upcoming holiday, but we'll find out.
I've only got 1 week off from work, so I hope I can get at least #8 and #9 done.

@wburgers wburgers added this to the 0.2.1 milestone Dec 13, 2015
@wburgers wburgers self-assigned this Dec 13, 2015
@wburgers wburgers removed this from the 0.2.1 milestone Jan 31, 2016
@wburgers
Copy link
Owner

I'm sorry I haven't been able to fix this just yet.
I am currently thinking about ways to refactor the entire main.cpp file.
It became a way too large blob of code.
As it is now, it is hard to include a daemonized mode.
Therefore I want to refactor first.
I don't have much time at all, so it will probably take forever...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants