From 5cf3abf29e3451ce2a86cfa400e36cbb53552354 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 10 Jan 2013 13:34:04 +0100 Subject: o Making run_control more generic and renamed to run_app. --- docs/README.md | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/README.md b/docs/README.md index d43f912..c4a83e9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,11 +13,6 @@ NOTE: The bash completion is not perfect yet. Or was it `~/.bash_profile`? hmm -Environment ------------ - -The following environment variables are set by default: - TODOs ----- @@ -34,7 +29,8 @@ TODOs * Concept: config. group, key and value. * Scriptable -* init.d support +* init.d support - register the application under /etc/init.d on + installation. Should probably be a plugin. * Support -h for all applicable methods to show the help/usage. @@ -137,3 +133,34 @@ Applications: scripts/ 1.1/ 2.0/ + +Creating Apps +------------- + +"App bundles" are basically just zip file with a specific layout. It +has to contain at least a `root/` directory which contains your +application. It can contain anything. The `current` symlink will point +to this directory. + +The bundle can also contain a special `scripts` directory which +contains scripts that's run durtion package operations. Only +`postinstall` is currently supported. + +Zip File Tree +============= + + root/ + bin/ + myapp + etc/ + config + scripts/ + postinstall + +Managing Apps +------------- + +Setting Environment Variables +----------------------------- + + app -n .. -i .. conf -- cgit v1.2.3