/var/log im tmpfs - automatisch Unterverzeichnisse anlegen

Stefan U. Hegner stefan at hegner-online.de
Sun Feb 4 15:24:29 CET 2018


Moin Ralph, Flo & Sascha,

... besten Dank für Eure Tipps und Hinweise.

Am 01.02.2018 um 21:29 schrieb Ralph Meyer:
> wenn systemd, dann normalerweise unter /usr/lib/tmpfiles.d/ oder so
> ähnlich.
>
Jau, das war genau das, wonach ich gesucht habe. ... Aber leider kannte
ich das eben noch nicht.
Funzt wie doll und verrückt.


Am 04.02.2018 um 12:14 schrieb Florian Lohoff:
> On Thu, Feb 01, 2018 at 10:24:44PM +0100, Stefan U. Hegner wrote:
>>     /lib/systemd/system/nginx.service:
>>
>>     ExecStartPre= /usr/sbin/nginx -t -q -g 'daemon on; master_process on;'
>>     ExecStart= /usr/sbin/nginx -g 'daemon on; master_process on;'
> IMHO kannst du ExecStartPre mehrfach angeben die dann nacheinander
> ausgeführt werden.
... das ist auch ein sehr interessanter Hinweis, auf den ich nicht
gekommen wäre. - Hab's aber jetzt auch noch nicht ausprobiert.

Danke an Euch alle!

Bis denne

Hegi.

-- 
Stefan U. Hegner
         <stefan at hegner-online.de>
              * * *
D-32584 Löhne --- good ole Germany
internet: http://www.hegner-web.de
              * * *
GPG-Key | 048D 7F64 0BEB 73B1 2725
F-Print | C05E 4F77 9674 EF11 55FE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20180204/a3214bde/attachment.sig>


More information about the Linux mailing list