commit a387d1be6c905ad3a5856b553f2624b891d47cdc
parent 0c9dc2bf542e6cc21b216ff845b45d85ffc8a0d6
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date: Sat, 24 Jun 2017 15:56:34 +0200
Merge branch 'master' of http://github.com/josuah/etc
Diffstat:
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/README b/README
@@ -1,10 +1,15 @@
-$ETC/BUILD # download, build, and install pkgs
+$ETC/BUILD # download, build, and install packages
+
+$ETC/BUILD -d <pkg> # download from $ETC/url to $SRC/<pkg>
+$ETC/BUILD -i <pkg> # install from $SRC/<pkg> to $OPT/<pkg>
+$ETC/BUILD -i <pkg> # symlink from $OPT/<pkg> to $ROOT/
$ETC/<pkg>/url # url to a tarball of the pkg sources
$ETC/<pkg>/build # script that build the pkg into $PREFIX
$ETC/<pkg>/*.diff # patch to apply before building the program
+
$ETC/INSTALL # handle pkgs configuration
$ETC/<pkg>/.* # dotfiles to be symlinked into $HOME
@@ -13,11 +18,7 @@ $ETC/<pkg>/inet # lines to be included into the inetd config file
$ETC/<pkg>/profile # environment variables, sourced by $ETC/profile
-$ETC/SERVICE # manage programs running
-$ETC/<pkg>/start # script that start a program
+$ETC/SERVICE # start, check and stop daemon
-
-$ETC/BUILD -d <pkg> # download from $ETC/url to $SRC/<pkg>
-$ETC/BUILD -i <pkg> # install from $SRC/<pkg> to $OPT/<pkg>
-$ETC/BUILD -i <pkg> # symlink from $OPT/<pkg> to $ROOT/
+$ETC/<pkg>/start # script that start a program
diff --git a/darkhttpd/start b/darkhttpd/start
@@ -1 +1 @@
-darkhttpd "$VAR/www" &
+sudo "$ROOT/bin/darkhttpd" "$VAR/www" &