Path: csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Dan Purgert Newsgroups: uk.comp.os.linux,alt.os.linux.ubuntu Subject: Re: daemon program? Date: Wed, 10 Sep 2025 08:42:26 -0000 (UTC) Organization: A noiseless patient Spider Lines: 32 Message-ID: References: <109bdsh$1kas0$1@dont-email.me> <109rb8b$1i7fe$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Sep 2025 08:42:27 +0000 (UTC) Injection-Info: dont-email.me; posting-host="107eb23290955f21700a2a789ca1c31a"; logging-data="1666988"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Xo+wHllwyG72qYfdQ9F/LkH8bwwwQxoQ=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:bePNDzedZTR4S08x1qiWzYlrVYA= Xref: csiph.com uk.comp.os.linux:23729 alt.os.linux.ubuntu:212304 On 2025-09-10, Mike Scott wrote: > On 04/09/2025 08:26, Richard Kettlewell wrote: >> Mike Scott ottsonline.org.uk.invalid> writes: >>> I've been using a program 'daemon' on freebsd >>> (eg >>> man.freebsd.org/cgi/man.cgi?query=daemon&sektion=8&manpath=FreeBSD+14.3-RELEASE+and+Ports) >>> >>> which will run arbitrary programs as daemons, handling all the >>> necessary "house-keeping" for them. >>> >>> I can't find a ready-to-roll linux version - is there one please? >> If you want an (almost) identical interface then in Debian (and >> presumably therefore also Ubuntu), there’s a command of the same name >> and similar behavior: >> >> https://manpages.debian.org/trixie/daemon/daemon.1.en.html > > Sorry, back again. > > I've been playing with this and there seems to be an important feature > missing on linux that's in the BSD version: how to do logfile rotation? > [...] > Have I missed something? logrotate(8) ? -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860