/var/log im tmpfs - automatisch Unterverzeichnisse anlegen
Florian Lohoff
f at zz.de
Thu Feb 1 21:18:04 CET 2018
On Thu, Feb 01, 2018 at 10:49:31AM +0100, Stefan U. Hegner wrote:
> Moin in die Runde,
> Ich finde nirgendwo in den nginx Dateien noch einen Verweis auf
> /var/log/nginx/... aber ohne dem tut er leider nicht. - Liefere ich das
> Verzeichnis zum Start von nginx ist alles schön ...
>
> Frage: Wie / wo baue ich das am cleversten ein, dass nach dem mounten
> des tmpfs /var/log über die /etc/fstab das Verzeichnis /var/log/nginx
> angelegt wird?
Ich würde das in die systemd unit file vom nginx packen - Das dingen
soll vor dem start einach das directory anlegen.
Flo
--
Florian Lohoff f at zz.de
UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20180201/bea20e32/attachment.sig>
More information about the Linux
mailing list