background services in plan9
Ensure you have already installed Go, then run the following to set up the directory for headless9 admin and usage.
mkdir -p /adm/headless9/ctl mkdir -p /adm/headless9/log touch /adm/services go install git.sdf.org/rudi/headles9@latest cp go/bin/headless9 /bin/headless9
Command Line Tool:
headless9 {start|stop|restart|status} plan9HttpApp
Service File (default /adm/services):
plan9HttpApp arg1 arg2 ...argN