dot

packages and services management
Log | Files | Refs | README

commit a4a1e05518cac9da6202ce6b9a4d5e40cb876cf3
parent e746402a5f7222c99ded6d310d69c885a7141969
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 17 Oct 2018 00:19:09 +0200

Merge branch 'master' of git.josuah.net:dotfiles

Diffstat:
Mdot/profile | 6+++---
Ms6-init | 25++++++++++++-------------
2 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/dot/profile b/dot/profile @@ -19,11 +19,11 @@ export LC_TIME=en_US.UTF-8 ## paths ## -export PKPATH=/var/pk +export KIT=/var/kit export GOPATH=$HOME/go export MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man -export MANPATH=$PKPATH/man:$MANPATH -export PATH=$HOME/dot/bin:$GOPATH/bin:$PKPATH/bin:$PATH +export MANPATH=$KIT/man:$MANPATH +export PATH=$HOME/dot/bin:$GOPATH/bin:$KIT/bin:$PATH ## programs ## diff --git a/s6-init b/s6-init @@ -4,21 +4,20 @@ if { s6-rmrf /run/s6 /var/s6/init } if { s6-mkdir -p /run/s6 /var/s6 /var/log } if { s6-ln -sf /var/s6/s6-logger /run/s6 } -background -{ - # wait until s6-svscan starts - redirfd -w 1 /var/s6/s6-logger/fifo +background { + # wait until s6-svscan starts + redirfd -w 1 /var/s6/s6-logger/fifo - s6-setsid -- - fdmove -c 1 2 + s6-setsid -- + fdmove -c 1 2 - backtick -n t { s6-clock } - importas t t - if { s6-rc-compile /var/s6/compiled${t} /etc/s6 } - if { s6-rc-init -c /var/s6/compiled${t} -l /var/s6/live /run/s6 } - if { s6-ln -nsf /var/s6/compiled${t} /var/s6/compiled } - if { s6-rc -l /var/s6/live -u change ok-all } - if { echo ok } + backtick -n t { s6-clock } + importas t t + if { s6-rc-compile /var/s6/compiled${t} /etc/s6 } + if { s6-rc-init -c /var/s6/compiled${t} -l /var/s6/live /run/s6 } + if { s6-ln -nsf /var/s6/compiled${t} /var/s6/compiled } + if { s6-rc -l /var/s6/live -u change ok-all } + if { echo ok } } cd /var/s6