特定のディレクトリが存在する場合に限り、systemd-tmpfiles で tmpfiles を削除することはできますか?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
