#!/bin/bash

# Delay CoreTel start by 5s to address problem where process fails if restarted immediately.
if [ "$1" == "start" ]; then
    sleep 5
fi

/etc/rc.d/init.d/script.template $1 CoreTel
exit $?
