net-misc/utm5: update initscripts
This commit is contained in:
@ -1,16 +1,19 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
start() {
|
||||
ebegin "Starting utm5_radius"
|
||||
start-stop-daemon --start --quiet --background --exec /netup/utm5/bin/safe_utm5_radius -- start
|
||||
export LD_LIBRARY_PATH="/netup/utm5/lib"
|
||||
start-stop-daemon --start --quiet --background \
|
||||
--pidfile /run/utm5_radius.pid \
|
||||
--exec /netup/utm5/bin/safe_utm5_radius -- start
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping utm5_radius"
|
||||
start-stop-daemon --start --quiet --exec /netup/utm5/bin/safe_utm5_radius -- stop
|
||||
start-stop-daemon --stop --quiet --pidfile /run/utm5_radius.pid
|
||||
eend $?
|
||||
}
|
||||
|
Reference in New Issue
Block a user