20.06.2018 20:24, Tommi Koivula schrieb an Torsten Bamberg:
Not the answer to your request, but in my OS/2 system it is
possible to rename binkd.log when binkd is running. Would be a
nice feature, I agree. But I can live without it. ;)
Now you can, yes. But if you change your hardware-platform to a very modern multicore one, you will run into the same problems. All the
tools you are using for shutting down tasks won't work anymore. If you
use ECS2/ArcaOS and the ibm-smp-kernel.
Because of this, I asked for a possible binkd exit-mechanism, like it
is implemented in binkleyXE, a pots mailer. To have a proper exit-mechanism makes it much easier, than have 10/20 tries of a killing-software like pkill.exe, go.exe or kill.exe.
- all binkd instances going down
- binkd.pid is deleted
It should not be done in binkd, it is a job for a shell script.Isn't it possible, to expand the 'binkd.exe -t shutdown' like it is
common practice at bsd/linux?
hehehe... but that way requires an extra and separate tool... kill or pkill or something that can do the job... some are written with EMX
and others are written with something else... they don't all work the same... some of them cause problems with other software...
if binkd
would scan for a few disk-based semaphores, it would work on all OSes equally... it could do this scan at the same time it scans the
outbound and all the fileboxes... there could also be a config file
option to specify the semaphore directory to look in...
Hello Torsten,OS/2 too. But it should be implemented by someone who knows programming under OS/2 well.
Wednesday June 20 2018, Torsten Bamberg wrote to Michael Dukelsky:
- all binkd instances going down
- binkd.pid is deleted
It should not be done in binkd, it is a job for a shell script.
Isn't it possible, to expand the 'binkd.exe -t shutdown' like it isIn fact -t option is in Windows and yes, it would be good to have it in
common practice at bsd/linux?
Hi! mark,
On 06/20/2018 05:12 AM, you wrote to Michael Dukelsky:
ml> binkd -C binkd.conf
What happens when you _don't_ use an invocation using "-C", and the
config file gets touched?
It should not be done in binkd, it is a job for a shell script.
that's what he's trying to do but the cron-executed shell script
cannot shut down binkd...
Why? Isn't it possible to kill a process in OS/2?it is possible but not all methods are clean...
no special tools needed or wanted... just plain bat
scripting...
especially on OS/2/EcS/ArcaOS it is common practice, to close all
binkd tasks to archive the log-files and cleanup the outbound/inbound directorys.
If possible, I would like to have a function like this:
- binkd is running in server mode
- binkd.pid exists
- generate a 0 byte file calling binkd.kil at binkd directory
- all binkd instances going down
- binkd.pid is deleted
Isn't it possible, to expand the 'binkd.exe -t shutdown' like it is common practice at bsd/linux?- all binkd instances going downIt should not be done in binkd, it is a job for a shell script.
- binkd.pid is deleted
MichaelBye/2 Torsten
no special tools needed or wanted... just plain bat scripting...
That's what I have said. :)
Not the answer to your request, but in my OS/2 system it is possibleNow you can, yes. But if you change your hardware-platform to a very modern multicore one, you will run into the same problems.
to rename binkd.log when binkd is running.
Would be a nice feature, I agree. But I can live without it. ;)
'TommiBye/2 Torsten
What happens when you _don't_ use an invocation using "-C", and the
config file gets touched?
Nothing. Binkd just goes on with the current setup. :)
It should not be done in binkd, it is a job for a shell script.
It should not be done in binkd, it is a job for a shell script.
that's what he's trying to do but the cron-executed shell script
cannot shut down binkd...
It should not be done in binkd, it is a job for a shell script.
that's what he's trying to do but the cron-executed shell script
cannot shut down binkd...
Why? Isn't it possible to kill a process in OS/2?
binkd -C binkd.conf
especially on OS/2/EcS/ArcaOS it is common practice, to close all binkd tasks to archive the log-files and cleanup the outbound/inbounddirectorys.
i requested disk based semaphores like this a several years ago (10+Well, the orginal IBM concept of semaphores and pipes is very different compare
IIRC) but was met with strong opposition... why? because binkd
originates on *nix and they just don't see the need for these types of semaphores as used on DOS systems...
)\/(arkBye/2 Torsten
especially on OS/2/EcS/ArcaOS it is common practice, to close all
binkd tasks to archive the log-files and cleanup the outbound/inbound directorys.
If possible, I would like to have a function like this:
- binkd is running in server mode
- binkd.pid exists
- generate a 0 byte file calling binkd.kil at binkd directory
- all binkd instances going down
- binkd.pid is deleted
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 25 |
Nodes: | 8 (0 / 8) |
Uptime: | 148:29:36 |
Calls: | 1,906 |
Calls today: | 2 |
Files: | 11,079 |
Messages: | 935,204 |