Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #68759

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

Subject Re: Systemd ... Pass CL Params to Pgm ?
Newsgroups comp.os.linux.misc
References (2 earlier) <102e5qi$2jfop$2@dont-email.me> <jLacnTMgQdUhudb1nZ2dnZfqn_WdnZ2d@giganews.com> <t8urhlxip3.ln2@Telcontar.valinor> <102fifh$2u1dt$6@dont-email.me> <hl2shlx0tg.ln2@Telcontar.valinor>
From c186282 <c186282@nnada.net>
Date 2025-06-12 23:59 -0400
Message-ID <IDOdnReL_uPYP9b1nZ2dnZfqnPSdnZ2d@giganews.com> (permalink)

Show all headers | View raw


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 .........

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-12 03:46 -0400
  Re: Systemd ... Pass CL Params to Pgm ? Richard Kettlewell <invalid@invalid.invalid> - 2025-06-12 09:06 +0100
    Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-12 09:14 +0000
      Re: Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-12 15:04 -0400
        Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-12 23:43 +0200
          Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-12 21:57 +0000
            Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-13 00:58 +0200
              Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-13 01:05 +0000
              Re: Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-12 23:59 -0400
  Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-12 10:07 +0200
    Re: Systemd ... Pass CL Params to Pgm ? The Natural Philosopher <tnp@invalid.invalid> - 2025-06-12 10:58 +0100
      Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-12 12:27 +0200
        Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-12 21:41 +0000
          Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-13 00:59 +0200
            Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-13 01:06 +0000
              Re: Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-12 23:41 -0400
              Re: Systemd ... Pass CL Params to Pgm ? candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-06-13 21:00 +0000
                Re: Systemd ... Pass CL Params to Pgm ? rbowman <bowman@montana.com> - 2025-06-13 23:27 +0000
            Re: Systemd ... Pass CL Params to Pgm ? Richard Kettlewell <invalid@invalid.invalid> - 2025-06-13 09:39 +0100
              Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-13 13:13 +0200
                Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-13 23:38 +0000
                Re: Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-14 01:16 -0400
                Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-14 14:54 +0200
                Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-14 23:28 +0000
                Re: Systemd ... Pass CL Params to Pgm ? "Carlos E.R." <robin_listas@es.invalid> - 2025-06-16 12:24 +0200
                Re: Systemd ... Pass CL Params to Pgm ? c186282 <c186282@nnada.net> - 2025-06-17 01:08 -0400
          Re: Systemd ... Pass CL Params to Pgm ? Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-06-13 07:29 +0200
            Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-13 05:36 +0000
              Re: Systemd ... Pass CL Params to Pgm ? Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-06-13 08:48 +0200
                Re: Systemd ... Pass CL Params to Pgm ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-06-13 06:53 +0000
                Re: Systemd ... Pass CL Params to Pgm ? Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-06-13 10:05 +0200

csiph-web