Skip to content

Add soft dependencies to systemd service - #649

Merged
icewind1991 merged 1 commit into
nextcloud:mainfrom
JustArchi:patch-1
Sep 4, 2025
Merged

icewind1991 merged 1 commit into
nextcloud:mainfrom
JustArchi:patch-1

Conversation

@JustArchi

@JustArchi JustArchi commented Aug 20, 2025 •

Copy link
Copy Markdown
Contributor

This After clause will ensure that notify_push service will be started after specified services, but all of them are optional and not fatal, even if user does not have them installed, or they fail to start. Thus, this will at worst postpone startup of the service (as intended), but will not result in any failures on its own.

I've noticed this is acceptable in regards to OpenRC service specification below, hence adding it to systemd as well.

@github-actions

github-actions Bot commented Sep 4, 2025

Copy link
Copy Markdown

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@icewind1991
icewind1991 merged commit 76f15c5 into nextcloud:main Sep 4, 2025
@JustArchi
JustArchi deleted the patch-1 branch September 4, 2025 15:46
@MrRinkana

Copy link
Copy Markdown
Contributor

Shouldn't apache be included there for completeness sake?

@JustArchi

Copy link
Copy Markdown
Contributor Author

@MrRinkana it should, I didn't add it because I'm just not using it myself and didn't want to put in wrong service definition - feel free to create PR correcting this.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants