Added 'name' for use with -n
authorAlan T. DeKok <aland@freeradius.org>
Thu, 11 Sep 2008 11:05:34 +0000 (13:05 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 11 Sep 2008 11:05:34 +0000 (13:05 +0200)
raddb/radiusd.conf.in

index 153cef3..6011e43 100644 (file)
@@ -60,6 +60,10 @@ logdir = @logdir@
 raddbdir = @raddbdir@
 radacctdir = @radacctdir@
 
+#
+#  name of the running server.  See also the "-n" command-line option.
+name = radiusd
+
 #  Location of config and logfiles.
 confdir = ${raddbdir}
 run_dir = ${localstatedir}/run/radiusd
@@ -110,7 +114,7 @@ libdir = @libdir@
 #
 #  e.g.:  kill -HUP `cat /var/run/radiusd/radiusd.pid`
 #
-pidfile = ${run_dir}/radiusd.pid
+pidfile = ${run_dir}/${name}.pid
 
 #  chroot: directory where the server does "chroot".
 #