#! /bin/sh

# Copyright (C) 2014:
#    Gabes Jean, j.gabes@shinken-solutions.com
#
# This file is part of Shinken enterprises, all rights reserved

### BEGIN INIT INFO
# Provides:          shinken-synchronizer
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Shinken synchronizer daemon
# Description:       Shinken is a monitoring tool and the synchronizer
#                    is one of its daemon.
### END INIT INFO

# Author: Gabes Jean <j.gabes@shinken-solutions.com>



NAME="shinken-synchronizer"

curdir=$(dirname "$0")

export SHINKEN_MODULE_FILE="$NAME"  ## for 'shinken' init script to see that it's called by us

"$curdir/shinken" $@ synchronizer

exit $?

