Add file com.telldus.service.plist to describe and start our service on Mac OS X

This commit is contained in:
Micke Prag 2011-09-09 14:19:39 +00:00
parent fa131eed2e
commit b59edb9411
2 changed files with 15 additions and 0 deletions

View file

@ -185,6 +185,7 @@ IF (APPLE)
SET_TARGET_PROPERTIES(${telldus-service_TARGET} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
)
INSTALL(FILES com.telldus.service.plist DESTINATION /Library/LaunchDaemons)
ENDIF (APPLE)
IF (UNIX)

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.telldus.service</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Library/Telldus/TelldusService</string>
</array>
</dict>
</plist>