forked from pool/freeradius-server
80e6dde4db
- update to 3.0.0 * new feature release * see /usr/share/doc/packages/freeradius-server/ChangeLog for complete list of changes in this release * documentation for upgrading from 2.x is in /etc/raddb/README.rst - drop oracle support (wasn't built anyway) - dropped patches (obsolete): * freeradius-server-2.1.6-codecleanup.patch * freeradius-server-2.1.6-dialup_admin.patch * freeradius-server-2.1.1-edirectory.patch - added systemd service unit * radiusd.service - added systemd-tmpfile for /var/run/radiusd * freeradius-tmpfiles.conf - added gpg-offline verification * freeradius-server.keyring OBS-URL: https://build.opensuse.org/request/show/203485 OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=51
16 lines
596 B
Diff
16 lines
596 B
Diff
Index: freeradius-server-2.1.8/suse/rcradiusd
|
|
===================================================================
|
|
--- freeradius-server-2.1.8.orig/suse/rcradiusd 2010-05-03 15:37:35.000000000 +0200
|
|
+++ freeradius-server-2.1.8/suse/rcradiusd 2010-05-03 15:38:08.000000000 +0200
|
|
@@ -31,6 +31,10 @@ rc_reset
|
|
case "$1" in
|
|
start)
|
|
echo -n "Starting RADIUS daemon "
|
|
+ # /var/run might be on tmpfs, create runtime directory if needed
|
|
+ if [ ! -d /var/run/radiusd ]; then
|
|
+ install -d -m 0700 -g radiusd -o radiusd /var/run/radiusd
|
|
+ fi
|
|
startproc $RADIUSD_BIN >/dev/null
|
|
rc_status -v
|
|
;;
|