--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- vnstatd.initd +++ vnstatd.initd @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.4 2011/10/17 14:48:04 jer Exp $ -opts="reload" +extra_started_commands="reload" depend() { use net @@ -31,12 +31,6 @@ } reload() { - if [ ! -f ${VNSTATD_PIDFILE} ]; then - eerror "Cannot reload configuration, vnstatd is not running" - eend 1 - return 1 - fi - ebegin "Reloading vnstatd configuration" kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null eend $?