diff options
Diffstat (limited to 'main/freeradius')
-rw-r--r-- | main/freeradius/APKBUILD | 4 | ||||
-rw-r--r-- | main/freeradius/freeradius.initd | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index f5cee1245f..021dba00e7 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=freeradius pkgver=2.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="http://freeradius.org/" arch="all" @@ -174,4 +174,4 @@ pam() { } md5sums="2e45d3c0d22ab14c560c7c3029893a8a freeradius-server-2.2.0.tar.gz fc6693f3df5a0694610110287a28568a freeradius.confd -c46f34d7ddf695dfe53e5fb7f60afa59 freeradius.initd" +1b89dada64d0de560d79f1e048626759 freeradius.initd" diff --git a/main/freeradius/freeradius.initd b/main/freeradius/freeradius.initd index fe44715179..66f748f4bf 100644 --- a/main/freeradius/freeradius.initd +++ b/main/freeradius/freeradius.initd @@ -15,8 +15,8 @@ checkconfig() { return 1 fi - if [ ! -d /var/run/radiusd ] && ! mkdir /var/run/radiusd ; then - eerror "Failed to create /var/run/radiusd" + if [ ! -d /var/run/radius ] && ! mkdir /var/run/radius ; then + eerror "Failed to create /var/run/radius" return 1 fi @@ -45,7 +45,7 @@ checkconfig() { [ -f radius.log ] || touch radius.log || return 1 chown -R "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" . /var/run/radiusd && \ - chmod -R u+rwX,g+rX . /var/run/radiusd || return 1 + chmod -R u+rwX,g+rX . /var/run/radius || return 1 } start() { @@ -58,13 +58,13 @@ start() { stop () { ebegin "Stopping radiusd" - start-stop-daemon --stop --quiet --pidfile /var/run/radiusd/radiusd.pid + start-stop-daemon --stop --quiet --pidfile /var/run/radius/radiusd.pid eend $? } reload () { ebegin "Reloading radiusd" - kill -HUP `</var/run/radiusd/radiusd.pid` + kill -HUP `</var/run/radius/radiusd.pid` eend $? } |