Re: auto restarting in crontab

2023-03-15 Thread Jeremy Ardley
On 16/3/23 12:09, p...@ymail.ne.jp wrote: Just for fun, I asked this question on ChatGPT, who gives the answers as follows. Q:  Please help generate a systemd configuration for Debian linux A: Sure, here's an example of a systemd configuration file for a Debian Linux service: Be very

Re: auto restarting in crontab

2023-03-15 Thread p...@ymail.ne.jp
Just for fun, I asked this question on ChatGPT, who gives the answers as follows. Q: Please help generate a systemd configuration for Debian linux A: Sure, here's an example of a systemd configuration file for a Debian Linux service: ``` [Unit] Description=My Service After=network.target

Re: auto restarting in crontab

2023-03-15 Thread p...@ymail.ne.jp
cor...@free.fr wrote: where will I setup this script for systemd job? any reference? You might look at this article as well. https://linuxhandbook.com/create-systemd-services/ Yong

Re: auto restarting in crontab

2023-03-15 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 09:40:48AM +0800, cor...@free.fr wrote: > On 16/03/2023 09:32, Greg Wooledge wrote: > > If that's more than you want to tackle, and if all you want is > > automatic restarting (not the ability to stop it at will), then this > > should suffice: > > > > #!/bin/sh > >

Re: auto restarting in crontab

2023-03-15 Thread coreyh
On 16/03/2023 09:32, Greg Wooledge wrote: On Wed, Mar 15, 2023 at 08:00:20PM -0500, Nicholas Geovanis wrote: On Wed, Mar 15, 2023, 7:56 PM wrote: > My script for monitoring Node.js app as follows. I put it in crontab for > auto-check and restart if failure. There's so much wrong with that.

Re: auto restarting in crontab

2023-03-15 Thread Greg Wooledge
On Wed, Mar 15, 2023 at 08:00:20PM -0500, Nicholas Geovanis wrote: > On Wed, Mar 15, 2023, 7:56 PM wrote: > > My script for monitoring Node.js app as follows. I put it in crontab for > > auto-check and restart if failure. There's so much wrong with that. If you want to manage a service, the

Re: auto restarting in crontab

2023-03-15 Thread Nicholas Geovanis
On Wed, Mar 15, 2023, 7:56 PM wrote: > Greetings, > > My script for monitoring Node.js app as follows. I put it in crontab for > auto-check and restart if failure. > > #!/bin/bash > > # scan the port > nc -z 127.0.0.1 3000 > > if [ $? -eq 0 ];then >exit > else >killall node >sleep 1

auto restarting in crontab

2023-03-15 Thread coreyh
Greetings, My script for monitoring Node.js app as follows. I put it in crontab for auto-check and restart if failure. #!/bin/bash # scan the port nc -z 127.0.0.1 3000 if [ $? -eq 0 ];then exit else killall node sleep 1 nohup serve -s /home/myUsername/workspace/xxx-frontend/build &

Fwd: 'gio: Setting attribute metadata::trusted not supported'

2023-03-15 Thread roger . tarani
Qui d'entre vous a déjà utilisé cette commande 'gio set' ? Merci. De: "roger tarani" À: "Liste Debian" Envoyé: Mardi 14 Mars 2023 11:47:31 Objet: 'gio: Setting attribute metadata::trusted not supported' Bonjour, Je fais suite au fil de discussion debian 11 - créer une "desktop

kalarm not working

2023-03-15 Thread Van Snyder
I had been using Debian 10 until I took some advice that I shouldn't have, and upgraded one thing. That triggered a bunch more upgrades, until too many things stopped working. So I reinstalled Debian 10 (waiting a while to see how 12 works out). Now, in the new Debian 10 install Kalarm isn't

Re: ImageMagick weird colors on composite with black

2023-03-15 Thread Emanuel Berg
debian-u...@howorth.org.uk writes: >> I don't understand, there is no ImageMagick ML/group >> registered on Gmane, and just some <10 people on >> #imagemagick on Libera? >> >> People don't care about this software which is the CLI >> powerhouse for image editing? > > I occasionally

Re: change synaptic repositories

2023-03-15 Thread Andrew M.A. Cater
On Wed, Mar 15, 2023 at 09:20:12PM +, Russell L. Harris wrote: > On Wed, Mar 15, 2023 at 04:50:56PM -0400, Dan Ritter wrote: > > Russell L. Harris wrote: > > > Where can I find a list of URLs for Synaptic repositories such as that > > > displayed by the installer? > > > > > > I need to switch

Re: change synaptic repositories

2023-03-15 Thread Russell L. Harris
On Wed, Mar 15, 2023 at 04:50:56PM -0400, Dan Ritter wrote: Russell L. Harris wrote: Where can I find a list of URLs for Synaptic repositories such as that displayed by the installer? I need to switch from a local Approx repository to one of the publically-accessible repositories such as

Re: ImageMagick weird colors on composite with black

2023-03-15 Thread debian-user
Emanuel Berg wrote: > I don't understand, there is no ImageMagick ML/group > registered on Gmane, and just some <10 people on #imagemagick > on Libera? > > People don't care about this software which is the CLI > powerhouse for image editing? I occasionally use ImageMagick but never

Re: change synaptic repositories

2023-03-15 Thread Dan Ritter
Russell L. Harris wrote: > Where can I find a list of URLs for Synaptic repositories such as that > displayed by the installer? > > I need to switch from a local Approx repository to one of the > publically-accessible repositories such as maintained by debian.org. Regardless of what interface

Re: change synaptic repositories

2023-03-15 Thread Russell L. Harris
On Wed, Mar 15, 2023 at 08:57:16PM +, Andrew M.A. Cater wrote: On Wed, Mar 15, 2023 at 08:47:54PM +, Russell L. Harris wrote: Where can I find a list of URLs for Synaptic repositories such as that displayed by the installer? I need to switch from a local Approx repository to one of the

Re: change synaptic repositories

2023-03-15 Thread Andrew M.A. Cater
On Wed, Mar 15, 2023 at 08:47:54PM +, Russell L. Harris wrote: > Where can I find a list of URLs for Synaptic repositories such as that > displayed by the installer? > > I need to switch from a local Approx repository to one of the > publically-accessible repositories such as maintained by

Re: change synaptic repositories

2023-03-15 Thread Greg Wooledge
On Wed, Mar 15, 2023 at 08:47:54PM +, Russell L. Harris wrote: > Where can I find a list of URLs for Synaptic repositories such as that > displayed by the installer? https://www.debian.org/mirror/list

change synaptic repositories

2023-03-15 Thread Russell L. Harris
Where can I find a list of URLs for Synaptic repositories such as that displayed by the installer? I need to switch from a local Approx repository to one of the publically-accessible repositories such as maintained by debian.org. -- He turneth rivers into a wilderness, and the watersprings into

Re: question on /var/run

2023-03-15 Thread Greg Wooledge
On Wed, Mar 15, 2023 at 09:32:40PM +0300, Reco wrote: > On Thu, Mar 16, 2023 at 02:20:39AM +0800, cor...@free.fr wrote: > > I have put these statement in @reboot crontab for auto startup. > > > > @reboot mkdir -p /var/run/xxx && chown -R www-data:www-data /var/run/xxx > > I'd use

Re: question on /var/run

2023-03-15 Thread Reco
Hi. On Thu, Mar 16, 2023 at 02:20:39AM +0800, cor...@free.fr wrote: > On 16/03/2023 02:08, Greg Wooledge wrote: > > On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote: > > > I am having the question that why the dir I created in /var/run disappears > > > after rebooting the

Re: question on /var/run

2023-03-15 Thread Nicolas George
Greg Wooledge (12023-03-15): > If you want something to appear there the next time the computer is > booted, you need to set up an event to occur at boot time to create > it. This could be a systemd unit, an entry in rc.local, a crontab job > with @reboot, etc. To create a directory, something

Re: question on /var/run

2023-03-15 Thread coreyh
On 16/03/2023 02:08, Greg Wooledge wrote: On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote: I am having the question that why the dir I created in /var/run disappears after rebooting the system? how to prevent that? unicorn:~$ ls -ld /var/run lrwxrwxrwx 1 root root 4 Jan 11

Re: ImageMagick weird colors on composite with black

2023-03-15 Thread Emanuel Berg
I don't understand, there is no ImageMagick ML/group registered on Gmane, and just some <10 people on #imagemagick on Libera? People don't care about this software which is the CLI powerhouse for image editing? -- underground experts united https://dataswamp.org/~incal

Re: question on /var/run

2023-03-15 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote: > I am having the question that why the dir I created in /var/run disappears > after rebooting the system? how to prevent that? unicorn:~$ ls -ld /var/run lrwxrwxrwx 1 root root 4 Jan 11 2018 /var/run -> /run/ unicorn:~$ df /run

question on /var/run

2023-03-15 Thread coreyh
Hello, I am having the question that why the dir I created in /var/run disappears after rebooting the system? how to prevent that? Thanks Corey

ImageMagick weird colors on composite with black

2023-03-15 Thread Emanuel Berg
I just wrote some zsh/imagemagick to resize files and then pad them to a specific image file resolution, however the color of the rectangle, if I set that to "black" (or #00) the colors get screwed up. If I set it to #01 tho it works, have no idea why. Here is the source, the line that

Re: No /

2023-03-15 Thread Michael Stone
On Wed, Mar 15, 2023 at 05:05:49PM +0100, Michael Lee wrote: Is there a way to fix this, or is a re-installation the only remedy? For all the things people like about btrfs, IME it's not as good at recovery from adverse events as are ext4 or xfs. In your circumstance your best bet is

Re: [bullseye] Policykit

2023-03-15 Thread Gian Uberto Lauri
> "NG" == Nicolas George writes: NG> Try running /usr/lib/policykit-1/polkitd directly in a terminal. NG> Try running it directly in a terminal G_MESSAGES_DEBUG=all in the NG> environment. Thank you again. Going on inspecting, it was poor Dbus who somehow lost a vital link in /var and

Re: No /

2023-03-15 Thread Michael Lee
Thanks David. Steps 1 through 6 describe just how the present drama unfolded. Good thinking. This is, I imagine, also what happens anytime power is taken away before COW has been able to do its thing.  Is there a way to fix this, or is a re-installation the only remedy? Michael Am Montag, dem

Re: recherche examples détaillés (n logiciel libre) pour grammaire d'entrée vers bisonc++ (generateur de code)

2023-03-15 Thread Fabien R
On 13/03/2023 15:48, Basile Starynkevitch wrote: Bonjour Je recherche plusieurs exemples complexes ("grandeur nature"), en logiciel libre, de fichiers de grammaire pour bisonc++ Tu auras peut-être des infos sur la liste help-bi...@gnu.org -- Fabien

Re: Network stack setup

2023-03-15 Thread Henning Follmann
On Wed, Mar 15, 2023 at 03:35:18PM +0100, krys...@ibse.cz wrote: > Dne středa 15. března 2023 12:55:55 CET, Henning Follmann napsal(a): > > This is indeed not right. > > Please try to ping any other host on the 192.168.1.0/24 network from > > 192.168.0.0/24 network. This might be just the case

Re: Network stack setup

2023-03-15 Thread Dan Ritter
krys...@ibse.cz wrote: > Dne středa 15. března 2023 12:55:55 CET, Henning Follmann napsal(a): > > This is indeed not right. > > Please try to ping any other host on the 192.168.1.0/24 network from > > 192.168.0.0/24 network. This might be just the case that the host with the > > two interfaces

Re: SIP servers.

2023-03-15 Thread peter
From: Jeffrey Walton Date: Sat, 11 Mar 2023 21:02:53 -0500 > There's also osip, https://www.gnu.org/software/osip/ . > > The last time I checked it was under active development with commercial > support. Thx Jeffrey, ... P. - mobile: +1 778 951 5147 VoIP: +1 604

Re: SIP servers.

2023-03-15 Thread peter
From: Jeremy Ardley Date: Sun, 12 Mar 2023 09:00:36 +0800 > If all you want is SIP registration and routing then Kamailio or > OpenSER will work fine, though you may want to add RTPProxy in NAT > situations. > > You could try Asterisk if you want a PBX but personally I wouldn't >

Re: Network stack setup

2023-03-15 Thread krystof
Dne středa 15. března 2023 12:55:55 CET, Henning Follmann napsal(a): > This is indeed not right. > Please try to ping any other host on the 192.168.1.0/24 network from > 192.168.0.0/24 network. This might be just the case that the host with the > two interfaces replies on any interface independent

Re: Network stack setup

2023-03-15 Thread Henning Follmann
First, Your return key is broken, please fix that ;) On Tue, Mar 14, 2023 at 07:51:44PM +0100, krys...@ibse.cz wrote: > Hello everyone, > I have a question about network stack configuration in Linux. Lets assume a > Linux host with multiple network interfaces, a different ip address is set on

Re: PDF on debian

2023-03-15 Thread Anssi Saari
Dan Ritter writes: > Apart from Windows-derived GDI printers, the majority of laser > and inkjet printers have a PostScript interpreter built in, even > if its primary use is in interpreting PDF files. I think that's probably outdated info too. My cheapie Epson XP-3100 supports some bitmap

Re: [bullseye] r-cran-ggplot2 depends on missing libpq5 v13.8

2023-03-15 Thread Loris Bennett
David Wright writes: > On Tue 14 Mar 2023 at 08:38:09 (-0400), Greg Wooledge wrote: >> On Tue, Mar 14, 2023 at 01:16:51PM +0100, Loris Bennett wrote: >> > So the problem is with the original 'sources.list', namely >> > >> > # See https://wiki.debian.org/SourcesList for more information. >> >

Re: Fwd: 2023-03-14-Oversetting og publisering av bøker med fri programvare

2023-03-15 Thread Petter Reinholdtsen
Takk for omtalen av presentasjonen. Jeg håper den ble bra. Vet ikke helt selv, hørte ikke etter. :) Det er interessant å se utvekslingen rundt oversetting av fagspråk til Svensk. Den illustrerer godt hvordan et språk drepes - med manglende interesse for å holde det i live. :) Bruken av

Re: Fwd: 2023-03-14-Oversetting og publisering av bøker med fri programvare

2023-03-15 Thread Marcus Rejås
Hoppar in lite här. Både jag och Karl har varit med länge nog för att se olika projekt kring översättning och nyproduktion komma och tyvärr gå. Det har varit svårt att hålla intresset uppe. Det har varit flera projekt. Själv var jag engagerad i TLDP runt det senaste sekelskiftet. Ser att

Re: Fwd: 2023-03-14-Oversetting og publisering av bøker med fri programvare

2023-03-15 Thread Luna Jernberg
Nope, började att fortsätta översätta lite av den Debian administrationsboken till svenska: https://hosted.weblate.org/languages/sv/debian-handbook/ under pandemisommaren men orkade aldrig bli riktigt klar då jag är mer intresserad av datorprogram än böcker och hemsidor och är inte