]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use radmin for hupage
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Jun 2012 14:48:45 +0000 (15:48 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Jun 2012 14:52:04 +0000 (15:52 +0100)
scripts/git/post-receive

index e339b7ad310ef5cced78c271680efaa660fb42eb..e9d45931e74fbd769eaf7f3af82302459be7885b 100755 (executable)
@@ -2,6 +2,7 @@
 # git Post-receive configuration update script
 #
 # To install:
+# * Enable r/w control socket for the user you're pushing with
 # * cd <config-dir>/raddb git config receive.denyCurrentBranch ignore
 # * cp ./post-receive <config-dir>/raddb/.git/hooks/
 # * # Edit the capitalized variables below to match your environment.
@@ -12,7 +13,7 @@
 STABLE_TAG='stable'
 
 # Command used to restart the RADIUS daemon
-RAD_REST='/etc/init.d/freeradius restart'
+RAD_REST='radmin -e hup'
 
 # Command used to verify the new configuration
 RAD_CONF='radiusd -C'