mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
net-misc/gmid: version bump to 1.6.1
also... * include patch from the application developer to make a pidfile * alter init.d script * update a live ebuild Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
@@ -12,9 +12,8 @@ description_reload="Reload the gmid configuration without losing connections."
|
||||
GMID_CONFIGFILE=${GMID_CONFIGFILE:-/etc/gmid/gmid.conf}
|
||||
|
||||
command="/usr/bin/gmid"
|
||||
command_args="-c \"${GMID_CONFIGFILE}\" -f"
|
||||
command_background=1
|
||||
pidfile="/var/run/gmid.pid"
|
||||
command_args="-c \"${GMID_CONFIGFILE}\" -P ${pidfile}"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
@@ -33,10 +32,6 @@ stop_pre() {
|
||||
fi
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
rm -f ${pidfile}
|
||||
}
|
||||
|
||||
reload() {
|
||||
configtest || return 1
|
||||
ebegin "Refreshing gmid's configuration"
|
||||
|
||||
Reference in New Issue
Block a user