Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 662 Bytes

DGLux-Server---Mac-OS-Service-Support.md

File metadata and controls

38 lines (26 loc) · 662 Bytes

DGLux Server supports the launchd system service facility.

Install

The service is automatically started.

./bin/daemon.sh install-service

Remove

The service is automatically stopped.

./bin/daemon.sh uninstall-service

Start

launchctl load ~/Library/LaunchAgents/com.dglogik.dglux-server.plist 

Stop

launchctl unload ~/Library/LaunchAgents/com.dglogik.dglux-server.plist 

Caveats

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 -