dot

packages and services management
Log | Files | Refs | README

commit 324f17a4c740de98d2297bf64c2bfdc62663ec4d
parent 774aa18bee961567cccd6e862d325c68a38051ea
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue,  3 Apr 2018 03:10:44 +0200

customize the path every time

Diffstat:
Mrun/geomyidae/run | 7+++----
Mrun/quark/run | 4+++-
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/run/geomyidae/run b/run/geomyidae/run @@ -1,8 +1,7 @@ #!/bin/sh -e -path="/home/srv" -port="70" -host="josuah.net" +IFS='' read -r path <path +IFS='' read -r host <host exec 2>&1 -exec geomyidae -d -b "$path" -p "$port" -h "$host" +exec geomyidae -d -b "$path" -h "$host" diff --git a/run/quark/run b/run/quark/run @@ -1,9 +1,11 @@ #!/bin/sh -e -path="$HOME/srv" port="80" exec 2>&1 + +IFS='' read path <path + exec quark -l -h 0.0.0.0 -p "$port" -d "$path" \ -v 'josuah.net josuah\.net$ josuah.net' \ -v 'cyberia.systems cyberia\.systems$ cyberia.systems' \