dot

packages and services management
Log | Files | Refs | README

commit e2f6b27ff02b7964e30feae5481f0b01c188ee46
parent 1b7fe271f3e29b698074f5867ec588018a11323f
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 23 Sep 2018 09:37:59 +0200

it is not "pax" anymore (name clash) and won't be anvil for long (name clash)

Diffstat:
Mdot/profile | 4++--
Ms6/ngircd/ngircd-run/data/conf | 69++++++++++++++++++++++++++++++++++-----------------------------------
As6/snooze-anvil/job | 8++++++++
As6/snooze-anvil/run | 8++++++++
Rs6/snooze-pax/type -> s6/snooze-anvil/type | 0
Ds6/snooze-pax/job | 8--------
Ds6/snooze-pax/run | 3---
7 files changed, 52 insertions(+), 48 deletions(-)

diff --git a/dot/profile b/dot/profile @@ -23,11 +23,11 @@ export ANVIL=/anvil export GOPATH=$HOME/go export MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man export MANPATH=$ANVIL/man:$MANPATH -export PATH=$HOME/dotfiles/bin:$GOPATH/bin:$ANVIL/bin:$PATH +export PATH=$HOME/dot/bin:$GOPATH/bin:$ANVIL/bin:$PATH ## programs ## export CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs export SSH_AUTH_SOCK=$HOME/.ssh/agent export ENV=$HOME/.bashrc -export LESS=-SFR +export LESS=-SR diff --git a/s6/ngircd/ngircd-run/data/conf b/s6/ngircd/ngircd-run/data/conf @@ -1,45 +1,44 @@ [Global] - Name = XXX - AdminInfo1 = josuah - AdminInfo2 = XXX - AdminEMail = mail@josuah.net - Info = XXX - MotdFile = motd - Network = XXX - Ports = 6697 + Name = XXX + AdminInfo1 = josuah + AdminInfo2 = XXX + AdminEMail = mail@josuah.net + Info = XXX + MotdFile = data/motd + Network = XXX + Ports = 6697 [Limits] - MaxConnections = 128 - MaxConnectionsIP = 20 - MaxJoins = 50 - MaxNickLength = 10 - PingTimeout = 120 - PongTimeout = 120 + MaxConnections = 128 + MaxConnectionsIP = 20 + MaxJoins = 50 + MaxNickLength = 10 + PingTimeout = 120 + PongTimeout = 120 [Options] - AllowedChannelTypes = #&+ - AllowRemoteOper = yes - CloakHost = %x%x - CloakHostSalt = XXX - DefaultUserModes = iC - DNS = no - Ident = no - MorePrivacy = yes - OperCanUseMode = yes - OperChanPAutoOp = yes + AllowedChannelTypes = #&+ + AllowRemoteOper = yes + CloakHost = %x%x + CloakHostSalt = XXX + DefaultUserModes = iC + DNS = no + Ident = no + MorePrivacy = yes + OperCanUseMode = yes + OperChanPAutoOp = yes [SSL] - Ports = 6697 - CertFile = pem - DHFile = dhp - KeyFile = key - KeyFilePassword = XXX - CipherList = AES+RSA + Ports = 6697 + CertFile = data/pem + DHFile = data/dhp + KeyFile = data/key + KeyFilePassword = XXX + CipherList = AES+RSA [Operator] - Name = josuah - Password = XXX - Mask = josuah!XXX - -[Server] + Name = josuah + Password = XXX + Mask = josuah!XXX + [Server] XXX diff --git a/s6/snooze-anvil/job b/s6/snooze-anvil/job @@ -0,0 +1,8 @@ +#!/bin/sh -e + +cd "$ANVIL/def" +for pack in * +do + output=$(anvil add "$pack") && status=ok || status=fail + printf '%-60s %s\n' "$output" "$status" +done diff --git a/s6/snooze-anvil/run b/s6/snooze-anvil/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb + +fdmove -c 2 1 + +if { mkdir -p /var/log/snooze-anvil } +backtick -n x { s6-clock } importas x x +redirfd -w 1 /var/log/snooze-anvil/$x +snooze ./job diff --git a/s6/snooze-pax/type b/s6/snooze-anvil/type diff --git a/s6/snooze-pax/job b/s6/snooze-pax/job @@ -1,8 +0,0 @@ -#!/bin/sh -e - -cd "$PAXPATH/def" -for pack in * -do - output=$(pax add "$pack") && status=ok || status=fail - printf '%-60s %s\n' "$output" "$status" -done diff --git a/s6/snooze-pax/run b/s6/snooze-pax/run @@ -1,3 +0,0 @@ -#!/usr/bin/env execlineb - -snooze ./job