mirror of https://git.sdf.org/rudi/headless9
Compare commits
8 Commits
fe9d1bad47
...
ecc829bc03
Author | SHA1 | Date |
---|---|---|
Gregory Rudolph | ecc829bc03 | 2 years ago |
Gregory Rudolph | cac8018796 | 2 years ago |
Gregory Rudolph | aba9b67e9a | 2 years ago |
Gregory Rudolph | ae99cfc014 | 2 years ago |
Gregory Rudolph | 0349a3495f | 2 years ago |
Gregory Rudolph | fc38252492 | 2 years ago |
Gregory Rudolph | 76689159fb | 2 years ago |
Gregory Rudolph | b5c851cab5 | 2 years ago |
4 changed files with 75 additions and 25 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
kind: pipeline |
||||
type: docker |
||||
name: default |
||||
|
||||
steps: |
||||
- name: Build |
||||
image: golang |
||||
commands: |
||||
- go get ./... |
||||
- go vet -v |
||||
- go build |
@ -1,3 +1,38 @@
@@ -1,3 +1,38 @@
|
||||
|
||||
# headless9 |
||||
|
||||
background services in plan9 |
||||
background services in plan9 |
||||
## Badges |
||||
|
||||
[![GPLv3 License](https://img.shields.io/badge/License-LGPL%20v3-green.svg)](https://opensource.org/licenses/) |
||||
[![Build Status](https://drone.nightmare.haus/api/badges/rudi/headless9/status.svg)](https://drone.nightmare.haus/api/badges/rudi/headless9) |
||||
[![Go Report Card](https://goreportcard.com/badge/git.sdf.org/rudi/headless9)](https://goreportcard.com/badge/git.sdf.org/rudi/headless9) |
||||
[![Documentation](https://godoc.org/git.sdf.org/rudi/headless9?status.svg)](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 |
||||
``` |
Loading…
Reference in new issue