Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More keys to enhance customization of log and app directories #296

Closed
pcting opened this issue Jul 15, 2014 · 2 comments
Closed

More keys to enhance customization of log and app directories #296

pcting opened this issue Jul 15, 2014 · 2 comments

Comments

@pcting
Copy link
Contributor

pcting commented Jul 15, 2014

I'm creating multiple RPM packages that are all related only by the suite name. I'm looking to have my configuration files organized like so:

Log Files:

/var/log/suite/projectA
/var/log/suite/projectB
/var/log/suite/projectC

App Files:

/usr/share/suite/projectA
/usr/share/suite/projectB
/usr/share/suite/projectC

This is easily done by adding in the following:

defaultLinuxLogsLocation := "/var/log/suite/"

defaultLinuxInstallLocation := "/usr/share/suite"

However, I want to keep the name of the project as "suite-projectA" and have my init files like so:

/etc/init.d/suite-projectA
/etc/default/suite-projectA
...

Is this easily doable? Digging through the code, it would seem all these directories are tied to normalizedName, which makes this file layout difficult to adapt. I was wondering if you guys are interested in supporting something like this? If so, I could take a stab at adding them in.

Thanks

@muuki88
Copy link
Contributor

muuki88 commented Jul 15, 2014

Thanks for the detailed description ( and partial solutions ). We are currently working on this in #250 feedback welcome

@pcting
Copy link
Contributor Author

pcting commented Jul 15, 2014

@muuki88, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants