From 43bab9ba6f53da5f4c9fa5252736ca8b30e089f8 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Sun, 4 Feb 2024 10:28:10 -0500 Subject: Switch from superd to s6 for session service management --- .config/s6-rc/ii-chat.sr.ht/run | 7 +++++++ .config/s6-rc/ii-chat.sr.ht/type | 1 + 2 files changed, 8 insertions(+) create mode 100755 .config/s6-rc/ii-chat.sr.ht/run create mode 100644 .config/s6-rc/ii-chat.sr.ht/type (limited to '.config/s6-rc/ii-chat.sr.ht') diff --git a/.config/s6-rc/ii-chat.sr.ht/run b/.config/s6-rc/ii-chat.sr.ht/run new file mode 100755 index 0000000..9bee56d --- /dev/null +++ b/.config/s6-rc/ii-chat.sr.ht/run @@ -0,0 +1,7 @@ +#!/bin/execlineb -P +importas -i HOME HOME +backtick IIPASS { cat ${HOME}/irc/.password } +export CADIR /etc/ssl/certs +s6-tlsclient chat.sr.ht 6697 +redirfd -w 1 /dev/null +ii -s chat.sr.ht -k IIPASS -n stonks3141/chat.sr.ht diff --git a/.config/s6-rc/ii-chat.sr.ht/type b/.config/s6-rc/ii-chat.sr.ht/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/.config/s6-rc/ii-chat.sr.ht/type @@ -0,0 +1 @@ +longrun -- cgit v1.2.3