diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-02-04 10:28:10 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-02-04 10:28:10 -0500 |
| commit | 43bab9ba6f53da5f4c9fa5252736ca8b30e089f8 (patch) | |
| tree | 76d43892e5105e9fc34bdd2e65dd556999522d25 /.config/s6-rc/ii-chat.sr.ht | |
| parent | 2a1ada12b2af913d74bb90d0e2e87f58d8327029 (diff) | |
Switch from superd to s6 for session service management
Diffstat (limited to '.config/s6-rc/ii-chat.sr.ht')
| -rwxr-xr-x | .config/s6-rc/ii-chat.sr.ht/run | 7 | ||||
| -rw-r--r-- | .config/s6-rc/ii-chat.sr.ht/type | 1 |
2 files changed, 8 insertions, 0 deletions
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 |
