Permalink
Browse files

Adds support for MacOS X's launchd. It implements RFE #871:

http://bugs.cherokee-project.com/871

git-svn-id: svn://cherokee-project.com/cherokee/trunk@5098 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent f768d02 commit 68a23f59596b9fcd86eb392b6ee685eecf23e077 @alobbs alobbs committed May 16, 2010
Showing with 39 additions and 20 deletions.
  1. +19 −17 Makefile.am
  2. +1 −0 configure.in
  3. +16 −0 org.cherokee.webserver.plist.in
  4. +3 −3 packages/osx/Info.plist.in
View
36 Makefile.am
@@ -70,23 +70,25 @@ debian_testing.sh \
debian_testing_chroot.sh
-EXTRA_DIST = \
-http-cherokee.xml \
-cherokee.spec \
-cherokee.spec.in \
-SUNWcherokee.spec \
-pam.d_cherokee \
-cherokee.pc.in \
-developers.py \
-svnlog2changelog.py \
-gitlog2changelog.py \
-changelog-update.sh \
-$(m4data_DATA) \
-$(XMLS_PRE) \
-$(CONFS_PRE) \
-$(CONSTANTS_PRE) \
-$(man_MANS) \
-$(WINDOWS_PORT_FILES) \
+EXTRA_DIST = \
+http-cherokee.xml \
+cherokee.spec \
+cherokee.spec.in \
+org.cherokee.webserver.plist \
+org.cherokee.webserver.plist.in \
+SUNWcherokee.spec \
+pam.d_cherokee \
+cherokee.pc.in \
+developers.py \
+svnlog2changelog.py \
+gitlog2changelog.py \
+changelog-update.sh \
+$(m4data_DATA) \
+$(XMLS_PRE) \
+$(CONFS_PRE) \
+$(CONSTANTS_PRE) \
+$(man_MANS) \
+$(WINDOWS_PORT_FILES) \
$(COMPILATION_TESTS)
all-local: $(CONSTANTS) $(CONFS) $(XMLS) add_user_group
View
1 configure.in
@@ -1487,6 +1487,7 @@ cget/Makefile
cherokee-config
cherokee.pc
cherokee.spec
+org.cherokee.webserver.plist
cherokee/Makefile
contrib/Makefile
icons/Makefile
View
16 org.cherokee.webserver.plist.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
+
+<plist version="1.0">
+ <dict>
+ <key>Label</key><string>org.cherokee.webserver</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>@prefix@/sbin/cherokee</string>
+ </array>
+ <key>Debug</key><false/>
+ <key>Disabled</key><true/>
+ <key>OnDemand</key><false/>
+ <key>RunAtLoad</key><false/>
+ </dict>
+</plist>
View
6 packages/osx/Info.plist.in
@@ -7,17 +7,17 @@
<key>CFBundleGetInfoString</key>
<string>Cherokee Web Server @VERSION@</string>
- <!-- Provides information for the Finder to display about the package. -->
+ <!-- Provides information for the Finder to display about the package. -->
<key>CFBundleName</key>
<string>cherokee</string>
- <!-- Provides information for the Finder to display about the package. -->
+ <!-- Provides information for the Finder to display about the package. -->
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<!-- A unique identifier string for the bundle. It should be in the form of a Java-style package name. -->
<key>CFBundleIdentifier</key>
- <string>org.cherokeeproject.cherokee</string>
+ <string>org.cherokee.webserver</string>
<!-- Should Installer require authorization (and prompt the user to authenticate)? -->
<key>IFPkgFlagAuthorizationAction</key>

0 comments on commit 68a23f5

Please sign in to comment.