diff options
Diffstat (limited to 'main/freeradius/freeradius.initd')
-rw-r--r-- | main/freeradius/freeradius.initd | 10 |
1 files changed, 5 insertions, 5 deletions
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 $? } |