summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/etc/s6-services/irc-services/log/run.epp19
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/etc/s6-services/irc-services/log/run.epp b/templates/etc/s6-services/irc-services/log/run.epp
index 4f56d78..21266a8 100644
--- a/templates/etc/s6-services/irc-services/log/run.epp
+++ b/templates/etc/s6-services/irc-services/log/run.epp
@@ -8,12 +8,19 @@
<% } -%>
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:"
@@ -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"