diff --git a/fhem/contrib/init-scripts/osx/README.txt b/fhem/contrib/init-scripts/osx/README.txt new file mode 100644 index 000000000..07704aa9f --- /dev/null +++ b/fhem/contrib/init-scripts/osx/README.txt @@ -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 diff --git a/fhem/contrib/init-scripts/osx/de.fhem.plist b/fhem/contrib/init-scripts/osx/de.fhem.plist new file mode 100644 index 000000000..f1f0bdd10 --- /dev/null +++ b/fhem/contrib/init-scripts/osx/de.fhem.plist @@ -0,0 +1,27 @@ + + + + + Label + de.fhem + WorkingDirectory + /opt/fhem + ProgramArguments + + /usr/bin/perl + /opt/fhem/fhem.pl + /opt/fhem/fhem.cfg + + StandardOutPath + /opt/fhem/log/start.log + StandardErrorPath + /opt/fhem/log/start.log + RunAtLoad + + UserName + fhem + AbandonProcessGroup + + +