troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
633 stars 63 forks source link

Only restart inetd services when neccessary #111

Closed jonasj76 closed 6 years ago

jonasj76 commented 6 years ago

Do not restart a inetd service if the listening interface is changed. Only bring down established connection which are no longer allowed, i.e. do not touch already allowed established connections.

troglobit commented 6 years ago

Nicely done, big thanks to both you and Pontus for working on this! 😎✌️

troglobit commented 6 years ago

It seems the build fails with --disable-inetd https://travis-ci.org/troglobit/finit/jobs/375759298#L1065

finit-service.o: In function `service_step':
/home/travis/build/troglobit/finit/src/service.c:1118: undefined reference to `inetd_stop_children'
collect2: error: ld returned 1 exit status
make[2]: *** [finit] Error 1
troglobit commented 6 years ago

Awesome, it builds fine now, thanks! :+1: