[asterisk-commits] tilghman: branch 1.6.2 r252365 - in /branches/1.6.2: ./ contrib/init.d/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Mar 14 20:38:39 CDT 2010
Author: tilghman
Date: Sun Mar 14 20:38:35 2010
New Revision: 252365
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=252365
Log:
Merged revisions 252362 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r252362 | tilghman | 2010-03-14 20:37:04 -0500 (Sun, 14 Mar 2010) | 11 lines
Merged revisions 252361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines
Launch Asterisk on Mac OS X with launchd.
Reviewboard: https://reviewboard.asterisk.org/r/551/
........
................
Added:
branches/1.6.2/contrib/init.d/org.asterisk.asterisk.plist
- copied unchanged from r252362, trunk/contrib/init.d/org.asterisk.asterisk.plist
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/Makefile
branches/1.6.2/main/asterisk.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/Makefile?view=diff&rev=252365&r1=252364&r2=252365
==============================================================================
--- branches/1.6.2/Makefile (original)
+++ branches/1.6.2/Makefile Sun Mar 14 20:38:35 2010
@@ -838,6 +838,8 @@
elif [ -f /etc/arch-release -o -f /etc/arch-release ]; then \
cat contrib/init.d/rc.archlinux.asterisk | sed 's|__ASTERISK_ETC_DIR__|$(ASTETCDIR)|;s|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)/etc/rc.d/asterisk ;\
chmod 755 $(DESTDIR)/etc/rc.d/asterisk;\
+ elif [ -d $(DESTDIR)/Library/LaunchDaemons -a ! -f $(DESTDIR)/Library/LaunchDaemons/org.asterisk.asterisk.plist ]; then \
+ $(INSTALL) -m 644 contrib/init.d/org.asterisk.asterisk.plist $(DESTDIR)/Library/LaunchDaemons/org.asterisk.asterisk.plist; \
elif [ -f /etc/slackware-version ]; then \
echo "Slackware is not currently supported, although an init script does exist for it."; \
else \
Modified: branches/1.6.2/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/asterisk.c?view=diff&rev=252365&r1=252364&r2=252365
==============================================================================
--- branches/1.6.2/main/asterisk.c (original)
+++ branches/1.6.2/main/asterisk.c Sun Mar 14 20:38:35 2010
@@ -3488,7 +3488,7 @@
} else
ast_log(LOG_WARNING, "Unable to open pid file '%s': %s\n", ast_config_AST_PID, strerror(errno));
#else
- ast_log(LOG_WARNING, "Mac OS X detected. Use '/sbin/launchd -d' to launch with the nofork option.\n");
+ ast_log(LOG_WARNING, "Mac OS X detected. Use 'launchctl load /Library/LaunchDaemon/org.asterisk.asterisk.plist'.\n");
#endif
}
#endif
More information about the asterisk-commits
mailing list