3 # source application-specific settings
4 [ -f /etc
/conf.d
/slon
] && .
/etc
/conf.d
/slon
9 PID
=`pidof -o %PPID /usr/bin/slon`
13 stat_busy
"Starting Slony-I Replication daemon"
14 [ -z "$PID" ] && /usr
/bin
/slon_start
--config /etc
/slon_tools.conf
$NODE_NAME
23 stat_busy
"Stopping Slony-I Replication daemon"
24 [ ! -z "$PID" ] && /usr
/bin
/slon_kill
--config /etc
/slon_tools.conf
38 echo "usage: $0 {start|stop|restart}"