Skip to content

Commit

Permalink
Adds support for MacOS X's launchd. It implements RFE cherokee#871:
Browse files Browse the repository at this point in the history
http://bugs.cherokee-project.com/871

git-svn-id: svn://cherokee-project.com/cherokee/trunk@5098 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed May 16, 2010
1 parent f768d02 commit 68a23f5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 20 deletions.
36 changes: 19 additions & 17 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,7 @@ cget/Makefile
cherokee-config
cherokee.pc
cherokee.spec
org.cherokee.webserver.plist
cherokee/Makefile
contrib/Makefile
icons/Makefile
Expand Down
16 changes: 16 additions & 0 deletions org.cherokee.webserver.plist.in
Original file line number Diff line number Diff line change
@@ -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>
6 changes: 3 additions & 3 deletions packages/osx/Info.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 68a23f5

Please sign in to comment.