Move where netdata is started and stopped in rc.local*.
This commit is contained in:
parent
f6b8155e29
commit
a76db920e0
2 changed files with 6 additions and 6 deletions
|
|
@ -17,9 +17,6 @@
|
|||
/etc/rc.d/rc.libvirt stop
|
||||
}
|
||||
|
||||
# Shut down netdata.
|
||||
[ -x /etc/rc.d/rc.netdata ] && /etc/rc.d/rc.netdata stop
|
||||
|
||||
# Stop the rtorrent instances started at boot.
|
||||
grep "^seeder:" /etc/passwd >/dev/null 2>&1 && {
|
||||
pkill -INT -u seeder '^rtorrent .*$'
|
||||
|
|
@ -57,6 +54,9 @@ grep "^seeder:" /etc/passwd >/dev/null 2>&1 && {
|
|||
# Stop fail2ban.
|
||||
[ -x /etc/rc.d/rc.fail2ban ] && /etc/rc.d/rc.fail2ban stop
|
||||
|
||||
# Stop netdata.
|
||||
[ -x /etc/rc.d/rc.netdata ] && /etc/rc.d/rc.netdata stop
|
||||
|
||||
# Stop the vnstat daemon.
|
||||
[ -x /etc/rc.d/rc.vnstat ] && /etc/rc.d/rc.vnstat stop
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue