freeradius2/3: Fixes to init script. (#3022)
authorToke Høiland-Jørgensen <toke@toke.dk>
Fri, 5 Aug 2016 15:49:33 +0000 (17:49 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Aug 2016 15:49:33 +0000 (17:49 +0200)
commit6be33929b8dbdf11bd64dfb3c89530998fd7bc43
treefd85721a3f2cc630579138ee3e48018abf28d7f6
parenta1d617bd8b43bde0d1e064653a6ff0ccb107f560
freeradius2/3: Fixes to init script. (#3022)

This fixes two issues with the freeradius package init scripts:

- The package installs libraries in /usr/lib/freeradius{2,3}, but the
  musl dynamic linker won't find them there unless LD_LIBRARY_PATH is
  set to include this directory. This adds an appropriate env statement
  to the procd init setup.

- procd expects services to stay in the foreground, or it will be unable
  to properly shut them down again. This adds the -f flag to radiusd to
  achieve that.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
net/freeradius2/files/radiusd.init
net/freeradius3/files/radiusd.init