Translated message

A translation of this page exists in English.

特定のディレクトリが存在する場合に限り、systemd-tmpfiles で tmpfiles を削除することはできますか?

Solution Unverified - Updated -

Issue

  • age に基づいたディレクトリからコンテンツを削除する必要がありますが、それは、ディレクトリが存在する場合に限ります。
  • tmpfiles.d conf のファイルタイプ D は、ディレクトリが存在しない場合に作成するため、有効ではありません。R は age パラメーターを使用しません。

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • systemd-208

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content