apache: Is it possible to include the "logs" directory in "persist"? #5359
Replies: 3 comments 1 reply
-
Yes, you can create an empty folder in the pre_install step, and then add it to the persist array. |
Beta Was this translation helpful? Give feedback.
-
@rashil2000 Sorry for the elementary question. |
Beta Was this translation helpful? Give feedback.
-
No, just edit this file here https://github.com/ScoopInstaller/Main/blob/master/bucket/apache.json and create a pull request. It's very easy. |
Beta Was this translation helpful? Give feedback.
-
When I install apache(httpd) with scoop, it creates "logs" directory inside "apps\apache\2.4.xx".
This "logs" is not a symbolic link but an entity, so if you upgrade apache with scoop, the log files before and after the update will be separated or disappear.
Is it possible to configure "logs" to be included in persist just like "conf" and "htdocs"?
I know that it can be achieved by specifying the absolute path in "httpd.conf", but if it can be included in persist in the scoop setting, I would like to adopt that method.
Beta Was this translation helpful? Give feedback.
All reactions