9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9fans@sirjofri.de>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Content of your /rc/bin/service or /dis/svc ?
Date: Sat, 2 Mar 2024 12:54:28 +0100 (GMT+01:00)	[thread overview]
Message-ID: <e4ba4750-049f-4ac2-bb20-c41d9a9938e8@sirjofri.de> (raw)
In-Reply-To: <87sf1829zy.fsf@rdklein.fr>

Hello,

I don't use /rc/bin/service anymore, but I use /cfg/machinename/service instead. My contents are copies of what's in /rc/bin/service or my own scripts:

tcp80 - web server
tcp443 - web server but wrapped in tls
...

I have some cifd running, some irc server that translates to grid chat, my mail server (smtp and imap4), and fingerd, the files follow the usual scheme tcpXXX. I probably missed one service or the other, but aux/listen is simple enough to set up custom servers with arbitrary functionality.

If you have exact questions about aux/listen functionality or you don't understand something, just ask :)

Btw it's quite common to "deactivate" services by renaming the files to have a leading "!". In general, everything that follows the naming scheme <protocol><port> and is executable will work.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf73851503467346f-M512c462da8b1a759383a0b74
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2024-03-02 11:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-02 10:34 Edouard Klein
2024-03-02 11:54 ` sirjofri [this message]
2024-03-05 21:28   ` Edouard Klein
2024-03-05 21:59     ` sirjofri
2024-03-05 22:47       ` a
2024-03-06  0:53         ` hiro
2024-03-06 11:03           ` Edouard Klein
2024-03-06 10:42         ` Edouard Klein
2024-03-06 11:06         ` Edouard Klein
2024-03-06 10:28       ` Edouard Klein
2024-03-06 12:52         ` sirjofri
2024-03-06 15:12           ` Edouard Klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4ba4750-049f-4ac2-bb20-c41d9a9938e8@sirjofri.de \
    --to=sirjofri+ml-9fans@sirjofri.de \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).