stabilize, add daemon state, add base build script

This commit is contained in:
JOLIMAITRE Matthieu 2023-12-10 22:04:40 +01:00
parent a1963cf491
commit 241d50e42a
12 changed files with 512 additions and 46 deletions

34
README.md Normal file
View file

@ -0,0 +1,34 @@
# BDMGR.D TS
Implémentation de BDMGR daemon en typescript.
## Dépendances
Deno :
```sh
curl -fsSL https://deno.land/x/install/install.sh | sh
```
## Usage
Démon :
```sh
sudo ./daemon.ts
```
Controleur :
```sh
control.ts - controls BDMGRDTS daemon.
Usage:
./control.ts Command [ARG...]
Commands:
help Prints a help message.
stop Stops the daemon.
status Get a list of enabled containers.
create NAME BASE Create a new container from a specific base.
enable NAME Enables a container.
disable NAME Disables a container.
reload NAME Reloads a container, equivalent to enable then disable.
```