Welcome, Guest. Please login or register.

Author Topic: Daemon management on Amiga OS  (Read 11778 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline kolla

Re: Daemon management on Amiga OS
« on: February 12, 2021, 07:41:09 PM »
Don't you know that ThoR passionatly detest systemd? So much that he created System-Startup for OS 3.2 (so that everyone who believes in him may not die in vain, but have eternal life... heh)

As you say, you can largely build what you want using shell and arexx scripts, so you can just go ahead and implement away already.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #1 on: February 12, 2021, 10:45:21 PM »
You just can't resist the opportunity to take digs at Thor can you.

The "dig" was at you, really. I just find it funny how you’re essentially asking for systemd for AmigaOS, given his stance on systemd... have you tried emailing him your ideas? He may have an oppinion or ... ten on this matter, and he is the guy who described System-Startup of OS 3.2 as a sort of initd for AmigaOS, so this is absolutely relevant.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #2 on: February 13, 2021, 04:39:57 PM »
The "service manager" is the Exchange commodity - just make sure all your software you run has commodity interface, and you can enable and disable at will. By using MUI programs, you already have a head start, as all MUI software inherently also have commodity interfaces. And there is both rexx and CLI interfaces to talk with the commodity interface.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #3 on: February 16, 2021, 12:56:48 AM »
of course it's the TCP stack's job to start a service if a request comes in  via a certain port.

Not at all - that's the task of an inet daemon, not a TCP stack.

And AmigaOS is full of "daemons", like IPrefs, like commodities, like rexxmast...
« Last Edit: February 16, 2021, 12:58:38 AM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #4 on: February 18, 2021, 12:41:59 PM »
No need to be pedantic. Yes it's the job of inetd. Inetd comes with the TCP/IP stack.
Huh, I am not pedantid, and no...
- an inetd doesn't always come with a TCP/IP stack, and when they do, they are very much optional
- they are most often not activated since that is considered a security risk.
- most inet daemons are stand alone and not directly associated with a TCP/IP stack, rinetd, xinetd, systemd socket - even on Amiga you can chose.

Quote
It's called a stack, because it consists of multiple bits of interdependent software

No, that is not why it is called a stack, you just made that up now.

Quote
and not just because the ISO OSI model is a 'stack'. But you already know that.

TCP/IP has little to do with the OSI model... TCP/IP specifically doesn't follow the OSI model - the TCP/IP stack is different from the OSI stack.

But you already know that.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #5 on: February 23, 2021, 01:35:06 AM »
I will let you two “experts” fight this one, who am I, just an “ignorant fuck” with more than 25 years experience in networking, professionally...

(https://forum.hyperion-entertainment.com/viewtopic.php?p=47821#p47821)
« Last Edit: February 23, 2021, 11:08:11 AM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #6 on: February 24, 2021, 08:30:14 AM »
@Tygre
I am still wondering why you wish to send Ctrl+F to programs, I don't know of any software that handles that as "quit", do you?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #7 on: February 25, 2021, 02:29:45 PM »
When someone repeatedly and consistently writes ctrl+f instead of ctrl+c, it’s safe to assume that it’s a misunderstanding and worth pointing out. Not just for the person in question, but also for other readers.

Btw, I feel sad, I run UDP services on my Amiga and these are not mentioned in this discussion, so sad...
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Daemon management on Amiga OS
« Reply #8 on: February 26, 2021, 09:50:49 AM »
I haven't yet explore the source code of WBRun

There are several to chose between, but most common is the one that shipped with OS3.9 - any particular reason you may have the source code for that one?

It was left out of OS 3.1.4 because according to ThoR nobody needs it, and according to Gulliver (and various OS 3.1.4 FAQs that I suppose mostly he wrote), WBRun was replaced by a 3.1.4 spin (same, but different) of ThoR's own WBLoad (not to be confused with LoadWB) from his CLICon project, which doesn't even rely on Workbench to be running to work. Sad story is that WBLoad, unlike WBRun, isn't capable of talking directly with Workbench when it is running, so unlike WBRun, it cannot be used to for example open volumes, drawers etc. So after some... heh... heated debate between everybody's super hero (ThoR) and me, it was concluded that WBRun better be a script that checks if Workbench is up and running, and if so, tells Workbench to do its thing via arexx, and if Workbench is not available, simply use WBLoad. (Don't you remember? You typically pressed "like" on just about anything he posted)

Currently, this rudimentary script looks like this...

Code: [Select]
; $VER: WBRun 45.9 (24.10.2019) Kolbjørn Barmen <amiga[member=751]kolla[/member].no>
.key PROG/A,ARGS/M,DELAY/N/K,SHOW/K,VIEWBY/K
.bra [
.ket ]

If NOT "[DELAY]" EQ ""
  Wait [DELAY]
EndIf

Status com=Workbench >NIL:
If WARN
  WBLoad [PROG] [ARGS]
Else
  RX "ADDRESS Workbench WINDOW '[PROG]' OPEN"
  If NOT "[SHOW]" EQ ""
    RX "ADDRESS Workbench MENU WINDOW '[PROG]' WINDOW.SHOW.[SHOW]"
  EndIf
  If NOT "[VIEWBY]" EQ ""
    RX "ADDRESS Workbench MENU WINDOW '[PROG]' WINDOW.VIEWBY.[VIEWBY]"
  EndIF
EndIf
« Last Edit: February 26, 2021, 10:12:50 AM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS