X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=templates%2Fetc%2Fs6-services%2Firc-services%2Flog%2Frun.epp;h=21266a84520fb75b905b4cf6501789e87cda15d7;hb=HEAD;hp=f757433fe310271bdc895ce5b2350327b9368f76;hpb=12a10d4e21eb0b76f22e970e3c9b6c021f1a8fca;p=user%2Fhenk%2Fcode%2Fpuppet%2Fmodules%2Fhenks_ircservices.git diff --git a/templates/etc/s6-services/irc-services/log/run.epp b/templates/etc/s6-services/irc-services/log/run.epp index f757433..21266a8 100644 --- a/templates/etc/s6-services/irc-services/log/run.epp +++ b/templates/etc/s6-services/irc-services/log/run.epp @@ -8,19 +8,26 @@ <% } -%> define NETWORK_NAME <%= $network_name %> -define SERVICES_LOGDIR /var/log/s6/irc-services-${NETWORK_NAME} -define SERVICES_MAIL_FIFO ${SERVICES_LOGDIR}/mail_fifo +define LOGDIR /var/log/s6/irc-services-${NETWORK_NAME} +define MAIL_FIFO ${LOGDIR}/mail_fifo fdmove -c 2 1 s6-log -- + t + T + s1048576 + S2147483648 + n100 + "${LOGDIR}/full_logs" + n1 -" USERS: .* connected to the network" -" USERS: .* disconnected from the network" -" USERS: .* is now away:" -" USERS: .* is no longer away" -" USERS: .* quit" -" USERS: .* changed nick to" - -" USERS: .* changes modes to \\+[ix]+" + -" USERS: .* changes modes to \\+[cix]+" -" USERS: .* is no longer identified as" -" USERS: .* used IDENTIFY and identified for account" -" USERS: .* is now identified as" @@ -40,9 +47,5 @@ s6-log -"Successfully connected to uplink #[[:digit:]]+ [[:alnum:].:-]+" -"Tied oper henk to type Services Root" -"Using IRCd protocol inspircd3" - t - T - s1048576 - S2147483648 - !"background { redirfd -r 0 ${SERVICES_MAIL_FIFO} mail -s \"irc-services log: ${NETWORK_NAME}\" -- root } tee ${SERVICES_MAIL_FIFO}" - "${SERVICES_LOGDIR}/logs" + !"background { redirfd -r 0 ${MAIL_FIFO} mail -s \"irc-services log: ${NETWORK_NAME}\" -- root } tee ${MAIL_FIFO}" + "${LOGDIR}/logs"