dot

packages and services management
Log | Files | Refs | README

commit ba1e0a30c7983291d1ed96c996b5949a85aca8e8
parent e8e1818fb9343d5893891b3be55b846e307aad26
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 26 Nov 2017 12:24:19 +0100

"skel" feels apropriate

Diffstat:
Mbin/etc | 2+-
Detc/ngircd/conf | 42------------------------------------------
Mpackage/sacc/git | 3++-
Askel/ngircd/conf | 42++++++++++++++++++++++++++++++++++++++++++
Retc/ngircd/motd -> skel/ngircd/motd | 0
5 files changed, 45 insertions(+), 44 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -1,5 +1,4 @@ #!/bin/sh - ETC=$(cd "${0%/*}/.." && pwd) case $1 in @@ -34,6 +33,7 @@ case $1 in (setup) [ -f "$ETC/cron/$2" ] && cat "$ETC/cron/$2" >> "$HOME/.config/cron" [ -f "$ETC/inet/$2" ] && cat "$ETC/inet/$2" >> "$HOME/.config/inet" + [ -f "$ETC/skel/$2" ] && cp -r "$ETC/skel/$2/" >> "$HOME/.config/$2" sort -uo "$HOME/.config/cron" "$HOME/.config/cron" sort -uo "$HOME/.config/inet" "$HOME/.config/inet" ;; diff --git a/etc/ngircd/conf b/etc/ngircd/conf @@ -1,42 +0,0 @@ -[Global] - Name = XXX - AdminInfo1 = josuah - AdminInfo2 = XXX - AdminEMail = mail@josuah.net - Info = XXX - MotdFile = /var/ngircd/motd - Network = XXX - Ports = 6667 - -[Limits] - MaxConnectionsIP = 20 - MaxJoins = XXX - 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 - OperServerMode = yes - -[SSL] - CertFile = /var/tls/server-cert.pem - CipherList = XXX - DHFile = /var/ngircd/dhparams.pem - KeyFile = /var/ngircd/server-key.pem - Ports = 6697 - -[Server] - XXX - -[Channel] - XXX diff --git a/package/sacc/git b/package/sacc/git @@ -1 +1,2 @@ -josuah@git.josuah.net:var/srv/sacc.git +git://bitreich.org/sacc +josuah@git.josuah.net:srv/git/sacc.git diff --git a/skel/ngircd/conf b/skel/ngircd/conf @@ -0,0 +1,42 @@ +[Global] + Name = XXX + AdminInfo1 = josuah + AdminInfo2 = XXX + AdminEMail = mail@josuah.net + Info = XXX + MotdFile = /etc/ngircd/motd + Network = XXX + Ports = 6667 + +[Limits] + MaxConnectionsIP = 20 + MaxJoins = XXX + 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 + OperServerMode = yes + +[SSL] + CertFile = /var/ngircd/ssl/server-cert.pem + CipherList = XXX + DHFile = /var/ngircd/ssl/dhparams.pem + KeyFile = /var/ngircd/ssl/server-key.pem + Ports = 6697 + +[Server] + XXX + +[Channel] + XXX diff --git a/etc/ngircd/motd b/skel/ngircd/motd