On Sat, May 29, 2021 at 3:38 AM Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Jack,

Am 29.05.2021 um 00:57 schrieb Jack Woehr via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx>:

It's easy to start something automatically at startup.
For one thing, PASE now has cron so you could write a "check if it's
running" script to run periodically.

Possible but not what I would have been expected, neither as Linux- nor as
OS/400 admin. ;-)


Well, there are monitoring systems for Linux that effectively do just that
-- periodically check to assure that a daemon is running.

But you can always write a CL that launches clamd and insert it in your
QSTRUPPGM program.

Good point. The socket file is then created to be owned by the user
profile running the QSTRUPPGM.

Would it be possible to add a wrapper or even the daemon program itself to
the autostart list of a SBS?


I suppose it is. There are many possible solutions. I wasn't indicating
which solution is best, just showing that there exists a set of possible
solutions.

Sorry for the maybe dumb question. I'm fluent in Linux/Unix, and I'm
halfways good in administering OS/400. But my skills how PASE and the CL
environment work together are almost zero.


There's been some coverage of this. The best discussions, I think, are in
the Ryver IBMiOSS forum <http://ibm.biz/ibmioss-chat-join> and the IBM i
Community Slack
<https://join.slack.com/t/ibmicommunity/shared_invite/zt-8c87gmld-OvD~Q~502Ns2f6JaGKUINQ>.



Further questions on this should go to the opensource midrange list so
the
esteemed David Gibbs doesn't whack our wrists with his ruler!

Asking how to start a PASE application from the CL environment isn't
necessarily OpenSource related. :-)


True enough!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.