Issue
I'm using com.netflix.nebula:gradle-ospackage-plugin:5.1.0
plugin for Gradle to pack distribution into RPM.
Now I need to create an empty dir inside RPM. How can I do it?
Solution
I've found the answer in documentation: Specifies directory that should be created within package.
directory(String path, int permissions)
However, there is not mention where to apply such property. directory
will work in buildRpm
section only and this is very important:
buildRpm {
...
directory('/opt/hazelcast-srv/logs')
}
Answered By - user2738882 Answer Checked By - Cary Denson (WPSolving Admin)