Opened 5 years ago
Last modified 5 years ago
#15767 new enhancement
Move UNIX services from net_server to launch_daemon
Reported by: | X512 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/launch_daemon | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev53917.
UNIX services like sshd
are currently managed by net_server
, but it should be managed by launch_roster
. launch_roster
seems already have some UNIX services support like sending SIGINT signal on stop.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Launch daemon already has a "network up" trigger, so, yes, that sounds fine.
Note:
See TracTickets
for help on using tickets.
I think the original idea of having them in net_server was to do something a bit like inetd: the net_server would watch for incoming tcp/udp connections and start the services on-demand. But I think net_server currently doesn't implement this, and launch_daemon does something somewhat similar for Be ports, I see no reason it couldn't do it for sockets as well?