Skip to content

debian: don't start daemons on install or upgrade#1029

Merged
arogge merged 5 commits intomasterfrom
dev/joergs/master/debian-init
Dec 20, 2021
Merged

debian: don't start daemons on install or upgrade#1029
arogge merged 5 commits intomasterfrom
dev/joergs/master/debian-init

Conversation

@joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Dec 17, 2021

Don't start the daemons on installation.
On upgrade, only restart the bareos-filedaemon,
not the bareos-director nor the bareos-storagedaemon
to not interfere with running jobs.

This way it is already in use on RPM based installation.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

@joergsteffens joergsteffens force-pushed the dev/joergs/master/debian-init branch from 8df59a5 to 2d359d3 Compare December 18, 2021 11:49
@joergsteffens joergsteffens marked this pull request as ready for review December 18, 2021 11:50
@joergsteffens joergsteffens requested a review from pstorz December 18, 2021 11:50
@arogge arogge self-assigned this Dec 20, 2021
joergsteffens and others added 5 commits December 20, 2021 17:19
Don't start the daemons on installation.
On upgrade, only restart the bareos-filedaemon,
not the bareos-director nor the bareos-storagedaemon
to not interfere with running jobs.
Let the bareos-universal-client package,
which is a bareos-filedaemon with minimized dependencies
also provide the package name
bareos-universal-filedaemon
@arogge arogge force-pushed the dev/joergs/master/debian-init branch from 2d359d3 to 3ee4948 Compare December 20, 2021 16:21
@arogge arogge merged commit 77e649a into master Dec 20, 2021
@arogge arogge deleted the dev/joergs/master/debian-init branch December 20, 2021 16:22
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.

2 participants