sflow / host-sflow

host-sflow agent
http://sflow.net
Other
146 stars 55 forks source link

stuff I found when packaging for openSUSE & SLES #10

Closed seife closed 7 years ago

seife commented 7 years ago

The CFLAGS patch gets the code in src/json and src/sflow in line with the rest of the code base to not override user set CFLAGS in the Makefile (found by OBS rpmlint checks).

sytemd unit files are a much cleaner way for starting service in modern Linux distributions, so provide these and a way to install them.

sflow commented 7 years ago

Thanks! However when running under systemd I think it's better to just log to stdout/stderr and let systemd take care of daemonization and feeding syslog. We are about to check in a major overhaul that includes support for running under systemd. It reworks the Makefile CFLAGS too. I hope you will help by testing it on SuSE.

sflow commented 7 years ago

I'm going to close this because I believe the issue is addressed in the latest commit to master. The 1.0 code is still accessible in branch "hsflowd-1" if required.