fix: do not stop dde-daemon service on upgrade - #1220
Conversation
When upgrading the dde-daemon package, the service should not be stopped to avoid compatibility issues. Added `--no-stop-on-upgrade` option to `dh_installsystemd` to prevent service interruption during upgrades. Log: Fixed service stopping during dde-daemon upgrade Influence: 1. Verify that dde-daemon is not stopped during package upgrade 2. Check that the service remains functional after upgrade 3. Test upgrade from previous version to new version 4. Confirm no compatibility issues arise from service restart fix: 升级dde-daemon时不停止服务 升级dde-daemon软件包时不应停止服务,以避免兼容性问题。为 `dh_installsystemd`添加`--no-stop-on-upgrade`选项,防止升级过程中服务 中断。 Log: 修复升级dde-daemon时服务被停止的问题 Influence: 1. 验证软件包升级过程中dde-daemon服务不会被停止 2. 确认升级后服务仍然正常运行 3. 测试从旧版本升级到新版本的过程 4. 确保不会因重启服务引发兼容性问题 PMS: TASK-393313
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds the --no-stop-on-upgrade flag to dh_installsystemd in debian/rules so the dde-daemon systemd service is not stopped during package upgrades, preventing compatibility issues. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review★ 总体评分:95分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 # 避免在包升级时停止服务,从而防止服务中断
override_dh_installsystemd:
dh_installsystemd --no-start --no-stop-on-upgrade
override_dh_auto_clean:
dh_auto_clean -- |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: fly602, mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
When upgrading the dde-daemon package, the service should not be stopped to avoid compatibility issues. Added
--no-stop-on-upgradeoption todh_installsystemdto prevent service interruption during upgrades.Log: Fixed service stopping during dde-daemon upgrade
Influence:
fix: 升级dde-daemon时不停止服务
升级dde-daemon软件包时不应停止服务,以避免兼容性问题。为
dh_installsystemd添加--no-stop-on-upgrade选项,防止升级过程中服务 中断。Log: 修复升级dde-daemon时服务被停止的问题
Influence:
PMS: TASK-393313
Summary by Sourcery
Keep dde-daemon running while upgrading its package.
Bug Fixes:
Build: