diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-08 21:13:52 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-09 09:18:50 +0200 |
commit | 5ccdc422ed45059a3afc57f00e52f6c863500310 (patch) | |
tree | 9d778c1e405c521e7e474ad0b4c61f4c59019790 /testing/vnstat/vnstatd.initd | |
parent | e2aeafa21987d1b1f6d4eb1b1edf2f43babfc046 (diff) | |
download | aports-5ccdc422ed45059a3afc57f00e52f6c863500310.tar.bz2 aports-5ccdc422ed45059a3afc57f00e52f6c863500310.tar.xz |
testing/vnstat: miscellaneous fixes
- fix path to vnstatd in daemon
- add daemon configuration file
- create vnstat user and group
- unify indentation
Diffstat (limited to 'testing/vnstat/vnstatd.initd')
-rw-r--r-- | testing/vnstat/vnstatd.initd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/vnstat/vnstatd.initd b/testing/vnstat/vnstatd.initd index b3f136cef3..167e2cc307 100644 --- a/testing/vnstat/vnstatd.initd +++ b/testing/vnstat/vnstatd.initd @@ -1,7 +1,6 @@ #!/sbin/runscript # Copyright 1999-2012 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.6 2012/01/01 01:19:16 idl0r Exp $ extra_started_commands="reload" @@ -18,7 +17,7 @@ start() { --pidfile "${VNSTATD_PIDFILE}" \ --user vnstat --group vnstat \ --nicelevel ${VNSTATD_NICELEVEL:-0} \ - --exec /usr/bin/vnstatd -- \ + --exec /usr/sbin/vnstatd -- \ -d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE} eend $? } |