DGLux Server supports the launchd
system service facility.
The service is automatically started.
./bin/daemon.sh install-service
The service is automatically stopped.
./bin/daemon.sh uninstall-service
launchctl load ~/Library/LaunchAgents/com.dglogik.dglux-server.plist
launchctl unload ~/Library/LaunchAgents/com.dglogik.dglux-server.plist
To listen on port 80, run the following command, while keeping DGLux Server configured for port 8080:
echo "
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
" | sudo pfctl -ef -