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

Fixes - set crons as app user in installer #11288

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

snipe
Copy link
Owner

@snipe snipe commented Jun 9, 2022

This should create the cronjobs (or corncobs, as autocorrect would have it) as the snipeitapp user instead of as root.

Signed-off-by: snipe <snipe@snipe.net>
@snipe snipe requested a review from uberbrady June 9, 2022 21:22
Copy link
Collaborator

@uberbrady uberbrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems pretty reasonable to me, but the only thing I'm a little worried about is if, in the final crontab - statement, do we have to do a second run_as_app_user there? Or else maybe it'll still put in as root (since the script is running as root). I'm not completely sure tbh.

@snipe
Copy link
Owner Author

snipe commented Jun 9, 2022

I don't think that should matter? But it's hard to say without a way to test.

Signed-off-by: snipe <snipe@snipe.net>
@snipe
Copy link
Owner Author

snipe commented Jun 9, 2022

(I really hate this installer script.)

@snipe snipe merged commit 6634668 into develop Jun 14, 2022
@snipe snipe deleted the fixes/set_crons_as_app_user_in_installer branch June 14, 2022 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants