Re: Systemd ... Pass CL Params to Pgm ?

Liste des GroupesRevenir à ol misc 
Sujet : Re: Systemd ... Pass CL Params to Pgm ?
De : c186282 (at) *nospam* nnada.net (c186282)
Groupes : comp.os.linux.misc
Date : 13. Jun 2025, 04:59:47
Autres entêtes
Message-ID : <IDOdnReL_uPYP9b1nZ2dnZfqnPSdnZ2d@giganews.com>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 6/12/25 6:58 PM, Carlos E.R. wrote:
On 2025-06-12 23:57, Lawrence D'Oliveiro wrote:
On Thu, 12 Jun 2025 23:43:25 +0200, Carlos E.R. wrote:
>
According to chatgpt ...
>
*Sigh*
<https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Command%20lines> >
 In short: complicated.
 
   I did manage to get the CL params into the Python pgm,
   the key was to be extra simple.
   However the damned service won't yet start at boot.
   I've done others that do ... I'll have to look them
   up and see what's different.
   Meanwhile, I start the service from an @reboot in
   root crontab. That works. Still have to test to
   see if it'll automatically RE-start on a crash.
   The pgm itself can kind-of do that, but I'd like
   systemd to get at it more promptly.
   Oh, the pgm uses ffmpeg to grab a low-speed low-rez
   rtsp feed from my one cam that's exposed to my front
   door area ... can pick up talking there, indeed
   even way out on the street or next-door to a
   degree. It's saved as a 1-fps .mkv movie ... JUST
   enough video to provide 'context' if I need to
   call the cops over something. I've higher-rez
   cams that show good images, but no front-yard audio.
   The pgm polices the mini-vids, erasing ones older
   than the specified number of days. It also keeps
   track of the ffmpeg spawn ... and can re-start it
   if not present ... but the delay is 5 minutes.
   I'd like systemd to be much more prompt. Bail-out
   in case of serious fail is to deliberately nuke
   both the ffmpeg process and the main pgm - but
   that relies on systemd restarting everything clean.
   ANYway, a little work in progress. I'll post the final
   fully-working important bits with notes soon enough.
   No, I'm NOT gonna buy a 'Ring' cam so strangers in
   China and gangstas can watch my front yard .........

Date Sujet#  Auteur
12 Jun 25 * Systemd ... Pass CL Params to Pgm ?31c186282
12 Jun 25 +* Re: Systemd ... Pass CL Params to Pgm ?8Richard Kettlewell
12 Jun 25 i`* Re: Systemd ... Pass CL Params to Pgm ?7Lawrence D'Oliveiro
12 Jun 25 i `* Re: Systemd ... Pass CL Params to Pgm ?6c186282
12 Jun 25 i  `* Re: Systemd ... Pass CL Params to Pgm ?5Carlos E.R.
12 Jun 25 i   `* Re: Systemd ... Pass CL Params to Pgm ?4Lawrence D'Oliveiro
12 Jun 25 i    `* Re: Systemd ... Pass CL Params to Pgm ?3Carlos E.R.
13 Jun 25 i     +- Re: Systemd ... Pass CL Params to Pgm ?1Lawrence D'Oliveiro
13 Jun 25 i     `- Re: Systemd ... Pass CL Params to Pgm ?1c186282
12 Jun 25 `* Re: Systemd ... Pass CL Params to Pgm ?22Carlos E.R.
12 Jun 25  `* Re: Systemd ... Pass CL Params to Pgm ?21The Natural Philosopher
12 Jun 25   `* Re: Systemd ... Pass CL Params to Pgm ?20Carlos E.R.
12 Jun 25    `* Re: Systemd ... Pass CL Params to Pgm ?19Lawrence D'Oliveiro
12 Jun 25     +* Re: Systemd ... Pass CL Params to Pgm ?13Carlos E.R.
13 Jun 25     i+* Re: Systemd ... Pass CL Params to Pgm ?4Lawrence D'Oliveiro
13 Jun 25     ii+- Re: Systemd ... Pass CL Params to Pgm ?1c186282
13 Jun 25     ii`* Re: Systemd ... Pass CL Params to Pgm ?2candycanearter07
14 Jun 25     ii `- Re: Systemd ... Pass CL Params to Pgm ?1rbowman
13 Jun 25     i`* Re: Systemd ... Pass CL Params to Pgm ?8Richard Kettlewell
13 Jun 25     i `* Re: Systemd ... Pass CL Params to Pgm ?7Carlos E.R.
14 Jun 25     i  `* Re: Systemd ... Pass CL Params to Pgm ?6Lawrence D'Oliveiro
14 Jun 25     i   +- Re: Systemd ... Pass CL Params to Pgm ?1c186282
14 Jun 25     i   `* Re: Systemd ... Pass CL Params to Pgm ?4Carlos E.R.
15 Jun 25     i    `* Re: Systemd ... Pass CL Params to Pgm ?3Lawrence D'Oliveiro
16 Jun 25     i     `* Re: Systemd ... Pass CL Params to Pgm ?2Carlos E.R.
17 Jun 25     i      `- Re: Systemd ... Pass CL Params to Pgm ?1c186282
13 Jun 25     `* Re: Systemd ... Pass CL Params to Pgm ?5Marc Haber
13 Jun 25      `* Re: Systemd ... Pass CL Params to Pgm ?4Lawrence D'Oliveiro
13 Jun 25       `* Re: Systemd ... Pass CL Params to Pgm ?3Marc Haber
13 Jun 25        `* Re: Systemd ... Pass CL Params to Pgm ?2Lawrence D'Oliveiro
13 Jun 25         `- Re: Systemd ... Pass CL Params to Pgm ?1Marc Haber

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal