You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.
Currently just a DEB package is provided for automatic installation. We need to also provide RMP packages and so on so they automatically install the oversip gem along with init scripts (like the DEB package does).
Can you help on this?
The text was updated successfully, but these errors were encountered:
Inaki, you might want to check out the FPM tool used to generate RPM builds. I've successfully used this tool to generate deb + rpm builds for Ubuntu 12.04, CentOS/RHEL/Fedora, etc...
if [ ! -d /var/run/oversip ]; then
mkdir -p /var/run/oversip
fi
if id -u oversip >/dev/null 2>&1; then
echo "Switch to user oversip";
else
adduser -u 106 -g 99 --shell /bin/false -b /var/run oversip
chown oversip /var/run/oversip
fi
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo -n "Starting oversip: "
daemon oversip $PID
echo
touch /var/lock/subsys/oversip
;;
stop)
echo -n "Shutting down oversip ??: "
killproc oversip
echo
rm -f /var/lock/subsys/oversip
;;
status)
status oversip
;;
condrestart)
if [ -f /var/lock/subsys/oversip ]; then
$0 stop
$0 start
fi
;;
reload|restart)
$0 stop
$0 start
echo "destroy existing connections during a restart."
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
Currently just a DEB package is provided for automatic installation. We need to also provide RMP packages and so on so they automatically install the
oversip
gem along with init scripts (like the DEB package does).Can you help on this?
The text was updated successfully, but these errors were encountered: