Install newLISP server on macOS using launchd
Launchd is the program which starts demons and programs when macOS is rebooting. Put the following script in to the file: ~/Library/LaunchAgents/org.newlisp.newlisp.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
Customize the port in -d4711 and the webserver root directory in -w/Users/lutz/Sites then reboot.
Your newLISP webservice is now available at http://localhost:4711/ or whatever portnumber you have chosen during setup. The server can also server net-eval requests.
After rebooting you can execute the following command in a terminal window to see if installation was sucessful:
launchctl list | grep newlisp
this will show the process id for the server process.