]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Freeradius: Improve initscript.
authorStefan Schantl <Stevee@ipfire.org>
Thu, 24 Sep 2009 13:51:22 +0000 (15:51 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Thu, 24 Sep 2009 13:51:22 +0000 (15:51 +0200)
I had to remove the daemon flag and add as start flag -f to force
radiusd as a foreground process. Upstart has some problems with radiusd as
daemon in the background.

src/initscripts/extras/freeradius.conf

index 3e165f9de66623fb929db7f8a8a833036c1744a6..86094193e2ec648377dc297b61525e328780e51c 100644 (file)
@@ -4,8 +4,7 @@ author                  "IPFire Team"
 start on started network
 stop on starting shutdown
 
-exec /usr/sbin/radiusd
-expect daemon
+exec /usr/sbin/radiusd -fx
 respawn
 
 post-stop script