Bug #326
Please fix freeswitch package in Alpine Edge
| Status: | Closed | Start date: | 03/16/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | - |
Description
Currently there is no init script for freeswitch. Can the package be compiled with the script?
Associated revisions
testing/freeswitch fixes #326. Updated initd and added confd
History
Updated by Michael Mason almost 2 years ago
An example from the Gentoo linux ebuild link on freeswitch site.
http://oss.axsentis.de/gitweb/?p=freeswitch-overlay.git;a=tree;f=net-misc/freeswitch/files;h=4fb989b73bdc0ab1717ec3d905e85a88d6daaeb5;hb=ae93c33f7f9d11a3f6a413ae63bb1fd9ea57dca2
#!/sbin/runscript
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $
depend() {
need net
}
start() {
local OPTS
[ -n "${FREESWITCH_USER}" ] && \
OPTS="${OPTS} -u ${FREESWITCH_USER}"
[ -n "${FREESWITCH_GROUP}" ] && \
OPTS="${OPTS} -g ${FREESWITCH_GROUP}"
[ -n "${FREESWITCH_OPTS}" ] && \
OPTS="${OPTS} ${FREESWITCH_OPTS}"
ebegin "Starting Freeswitch"
start-stop-daemon --start --quiet --exec /opt/freeswitch/bin/freeswitch \
--pidfile /var/run/freeswitch.pid -- -nc ${OPTS}
eend $?
}
stop() {
ebegin "Stopping Freeswitch"
start-stop-daemon --stop --quiet --pidfile /opt/freeswitch/log/freeswitch.pid
eend $?
}
Updated by Michael Mason almost 2 years ago
http://git.alpinelinux.org/cgit/aports-mmason/commit/?id=52600877ccdfcc91be897b12d885ed8543022cfb
Let me know if this needs some more attention.
Updated by Michael Mason almost 2 years ago
- Status changed from New to Resolved
Will make sure next time in the commit to say "fixes #bug" in the git commit :)
Thanks ncopa for pointing that out.
Updated by Michael Mason almost 2 years ago
- Status changed from Resolved to Assigned
- Assignee set to Michael Mason
Noticed that I did not include the new init script in the package. Doing some more testing.
Updated by Michael Mason almost 2 years ago
- Status changed from Assigned to Resolved
ncopa: Please pull in these changes if you haven't already. Thanks
Updated by Michael Mason almost 2 years ago
- % Done changed from 0 to 100
Applied in changeset ab919e61f26ec3409874ebce697842171bfc6d59.
Updated by Natanael Copa over 1 year ago
- Status changed from Resolved to Closed