<%- | String $network_name, | -%> <% if versioncmp( $facts['os']['release']['major'], '10' ) >= 1 { -%> #!/usr/bin/execlineb -P <% } else { -%> #!/usr/local/bin/execlineb -P <% } -%> define NETWORK_NAME <%= $network_name %> define SERVICES_LOGDIR /var/log/s6/irc-services-${NETWORK_NAME} define SERVICES_MAIL_FIFO ${SERVICES_LOGDIR}/mail_fifo fdmove -c 2 1 s6-log -- -" 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: .* is no longer identified as" -" USERS: .* used IDENTIFY and identified for account" -" USERS: .* is now identified as" -" COMMAND: .* used IDENTIFY and identified for account" -" COMMAND: .* used UNBAN on all channels" -" CHANNEL: .* join #.*" -" M_SASL: .* identified to account .* using SASL" -" Anope [[:digit:].]+, build #[[:digit:]], compiled .*" -" Anope [[:digit:].]+ starting up" -"Using configuration file conf/services.conf" -"Loading modules\\.\\.\\." -"Loading databases\\.\\.\\." -"Databases loaded" -"Attempting to connect to uplink #[[:digit:]]+ [[:alnum:].-]+ ([[:alnum:]./-]+) with protocol InspIRCd 3" -"Inheriting commands and privs from .* to .*" -"M_HTTPD: Created HTTP server httpd/main" -"Successfully connected to uplink #[[:digit:]]+ [[:alnum:].:-]+" -"Tied oper henk to type Services Root" -"Using IRCd protocol inspircd3" 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"