felskrone / salt-eventsd

events-listener daemon for saltstack that writes data into a database
Other
52 stars 12 forks source link

Feature: make eventsd more like salt-* binaries #5

Closed syphernl closed 10 years ago

syphernl commented 10 years ago

It would probably be wise to (at least) add some options such as:

This makes it work like all the other salt-* binaries like salt-call, salt-minion, salt-master etc.

Then the "fg" function could be changed to default behavior and turning it into a background process by providing -d (and/or --daemon).

felskrone commented 10 years ago

Closed via 9d40b8110d0fc9a95a04a3700f84c988ceb47fbe and 5ff44e64c07a6a3217ba002b5496f692b7d501e6.

The daemon can now be handled with:

-d / --daemonize - daemonize on invocation -l / --loglevel - run in foreground with given loglevel (needs more work, see #12) -v / --version - print the daemons version number

Hope you like and test it :-)

syphernl commented 10 years ago

Looks great!