background services in plan9
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
# headless9
|
|
|
|
|
|
|
|
background services in plan9
|
|
|
|
## Badges
|
|
|
|
|
|
|
|
[](https://opensource.org/licenses/)
|
|
|
|
[](https://drone.nightmare.haus/rudi/headless9)
|
|
|
|
[](https://goreportcard.com/report/git.sdf.org/rudi/headless9)
|
|
|
|
[](https://godoc.org/git.sdf.org/rudi/headless9)
|
|
|
|
## Deployment
|
|
|
|
|
|
|
|
Ensure you have already installed Go, then run the following to set up the directory for headless9 admin and usage.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
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
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- Headless services from plan9 console
|
|
|
|
- Logging and control for the running services
|
|
|
|
|
|
|
|
|
|
|
|
## Usage/Examples
|
|
|
|
Command Line Tool:
|
|
|
|
```bash
|
|
|
|
headless9 {start|stop|restart|status} plan9HttpApp
|
|
|
|
```
|
|
|
|
Service File (default /adm/services):
|
|
|
|
```
|
|
|
|
plan9HttpApp arg1 arg2 ...argN
|
|
|
|
```
|