diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-09-04 17:54:49 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-09-04 17:54:49 +0000 |
commit | c0e2921f5a93106156e9fe59dcb7e07af0c07cfe (patch) | |
tree | 4a6eb3ae6ad9505dc4ab7fd8bf93b30af2b09661 /net-analyzer/vnstat | |
parent | x86 stable wrt bug #381641 (diff) | |
download | gentoo-2-c0e2921f5a93106156e9fe59dcb7e07af0c07cfe.tar.gz gentoo-2-c0e2921f5a93106156e9fe59dcb7e07af0c07cfe.tar.bz2 gentoo-2-c0e2921f5a93106156e9fe59dcb7e07af0c07cfe.zip |
Add support for cleaned /var/run on startup by Xake and i.Dark_Templar (bug #332429).
(Portage version: 2.2.0_alpha52/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r-- | net-analyzer/vnstat/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstatd.initd | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/net-analyzer/vnstat/ChangeLog b/net-analyzer/vnstat/ChangeLog index 13b2a8c0ff0b..87f0c85bcf7e 100644 --- a/net-analyzer/vnstat/ChangeLog +++ b/net-analyzer/vnstat/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/vnstat # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.48 2011/09/04 17:41:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.49 2011/09/04 17:54:49 jer Exp $ + + 04 Sep 2011; Jeroen Roovers <jer@gentoo.org> files/vnstatd.initd: + Add support for cleaned /var/run on startup by Xake and i.Dark_Templar (bug + #332429). *vnstat-1.11-r1 (04 Sep 2011) diff --git a/net-analyzer/vnstat/files/vnstatd.initd b/net-analyzer/vnstat/files/vnstatd.initd index 24172d7f0775..598eedc185fb 100644 --- a/net-analyzer/vnstat/files/vnstatd.initd +++ b/net-analyzer/vnstat/files/vnstatd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 2009-2011 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.2 2011/09/04 17:41:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.3 2011/09/04 17:54:49 jer Exp $ opts="reload" @@ -13,6 +13,7 @@ VNSTATD_PIDFILE="${VNSTATD_PIDFILE:-/var/run/vnstatd/vnstatd.pid}" start() { ebegin "Starting vnstatd" + checkpath -q -d -m 755 -o vnstat:vnstat $( dirname /var/run/vnstatd ) start-stop-daemon --start --quiet \ --pidfile "${VNSTATD_PIDFILE}" \ --user vnstat --group vnstat \ |