dot

packages and services management
Log | Files | Refs | README

commit 62e139e2332138de93382b62aa8a81adbd170b3f
parent e1bccf1434d071c10d044ae7def157c87e027775
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  8 Jul 2018 21:12:31 +0200

geomyidae: configure from environment variables

Diffstat:
As6/geomyidae/env/BASE | 1+
As6/geomyidae/env/HOST | 1+
As6/geomyidae/env/PORT | 1+
Ms6/geomyidae/run | 12+++++++++---
4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/s6/geomyidae/env/BASE b/s6/geomyidae/env/BASE @@ -0,0 +1 @@ +/data/srv/josuah.net/ diff --git a/s6/geomyidae/env/HOST b/s6/geomyidae/env/HOST @@ -0,0 +1 @@ +josuah.net diff --git a/s6/geomyidae/env/PORT b/s6/geomyidae/env/PORT @@ -0,0 +1 @@ +70 diff --git a/s6/geomyidae/run b/s6/geomyidae/run @@ -3,7 +3,13 @@ fdmove -c 2 1 +s6-envdir ./env/ + +importas HOST HOST +importas PORT PORT +importas BASE BASE + geomyidae -d - -b /home/srv/josuah.net - -h 0.0.0.0 - -p 70 + -b $BASE + -h $HOST + -p $PORT