From: Stefan Schantl Date: Thu, 17 Sep 2009 12:42:28 +0000 (+0200) Subject: Freeradius: Add upstart job file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32193e00748eaaa248cb62b425471b8a985238dd;p=ipfire-3.x.git Freeradius: Add upstart job file --- diff --git a/lfs/freeradius b/lfs/freeradius index 2b4c58b7b..e55301955 100644 --- a/lfs/freeradius +++ b/lfs/freeradius @@ -117,5 +117,8 @@ $(OBJECT): $(objects) # Logrotate cp -vf $(DIR_SRC)/src/logrotate/$(PKG_NAME) /etc/logrotate.d/ + # Initscript + cp -vf $(DIR_SRC)/src/initscripts/extras/freeradius.conf /etc/init/ + @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/src/initscripts/extras/freeradius.conf b/src/initscripts/extras/freeradius.conf new file mode 100644 index 000000000..3e165f9de --- /dev/null +++ b/src/initscripts/extras/freeradius.conf @@ -0,0 +1,13 @@ +description "Starts the free RADIUS server" +author "IPFire Team" + +start on started network +stop on starting shutdown + +exec /usr/sbin/radiusd +expect daemon +respawn + +post-stop script + rm -vf /var/run/radiusd/radiusd.sock +end script