Add file com.telldus.service.plist to describe and start our service on Mac OS X
This commit is contained in:
parent
fa131eed2e
commit
b59edb9411
2 changed files with 15 additions and 0 deletions
|
@ -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)
|
||||
|
|
14
telldus-core/service/com.telldus.service.plist
Normal file
14
telldus-core/service/com.telldus.service.plist
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue