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
Issue-840: Create an RPM distribution #855
Conversation
Added the creation of the RPM file and also a service file, as well as a postinstall script to create the relevant user and group. |
@steve-todorov Hi, I think you are the right person for my question: Seems like the Jenkins build fails because |
|
In this line of thought, would it be possible to add |
Could you please try this out and give some feedback? |
@@ -0,0 +1,3 @@ | |||
groupadd strongbox | |||
useradd -d /usr/local/strongbox -g strongbox strongbox | |||
chown -R strongbox:strongbox /usr/local/strongbox/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, make sure you add new lines to the end of files when creating, or editing them, as this can sometimes be a problem on different operating systems.
Once this task is done, I think it would be a good idea to go over the Installation Guide and update it as necessary. Things will then need to be tested based on the instructions. |
@@ -0,0 +1,3 @@ | |||
groupadd strongbox | |||
useradd -d /usr/local/strongbox -g strongbox strongbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be a regular user but rather a system
one. Could you please add --system
here?
useradd -d /usr/local/strongbox -g strongbox strongbox | |
useradd -d /usr/local/strongbox -g strongbox --system strongbox |
The produced RPM does not work out of the box in Strongbox expects to be able to write into By convention databases are usually stored in |
Closing this in favour of the rebased version of this branch in #1068. |
Fixes #840