mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
init-scripts/osx: Forum #81485
git-svn-id: https://svn.fhem.de/fhem/trunk@15673 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad6571f017
commit
0732cf8600
11
fhem/contrib/init-scripts/osx/README.txt
Normal file
11
fhem/contrib/init-scripts/osx/README.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Install:
|
||||||
|
cp de.fhem.plist /Library/LaunchDaemon/de.fhem.plist
|
||||||
|
|
||||||
|
Activate:
|
||||||
|
launchctl load /Library/LaunchDaemon/de.fhem.plist
|
||||||
|
|
||||||
|
Start
|
||||||
|
launchctl start de.fhem
|
||||||
|
|
||||||
|
|
||||||
|
See also Forum #81485
|
27
fhem/contrib/init-scripts/osx/de.fhem.plist
Normal file
27
fhem/contrib/init-scripts/osx/de.fhem.plist
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?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 http://www.apple.com/DTDs/PropertyList-1.0.dtd]">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Label</key>
|
||||||
|
<string>de.fhem</string>
|
||||||
|
<key>WorkingDirectory</key>
|
||||||
|
<string>/opt/fhem</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/usr/bin/perl</string>
|
||||||
|
<string>/opt/fhem/fhem.pl</string>
|
||||||
|
<string>/opt/fhem/fhem.cfg</string>
|
||||||
|
</array>
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/opt/fhem/log/start.log</string>
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/opt/fhem/log/start.log</string>
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
<key>UserName</key>
|
||||||
|
<string>fhem</string>
|
||||||
|
<key>AbandonProcessGroup</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue
Block a user