mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
It helps in monitoring a cluster more easily. While here, fix svn properties. PR: 223044 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer)
9 lines
244 B
Bash
9 lines
244 B
Bash
#!/bin/sh
|
|
|
|
. /etc/rc.subr
|
|
|
|
load_rc_config "fdfs_client"
|
|
|
|
: ${fdfs_client_config="%%PREFIX%%/etc/fdfs/client.conf"}
|
|
|
|
%%PREFIX%%/bin/fdfs_monitor ${fdfs_client_config}|grep -E 'Group|Storage|id|ip_addr|last_synced_timestamp'|grep -v 'trunk file'
|