1 Star 0 Fork 33

konglidong/dbus

forked from src-openEuler/dbus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-let-systemd-restart-dbus-when-the-it-enters-failed.patch 926 Bytes
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 10:36 . Package init
From 223f994f79c51a32d5a6da474584447a8df4f028 Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Wed, 28 Aug 2019 19:49:53 +0800
Subject: [PATCH] let systemd restart dbus when it enters failed
let systemd restart dbus when it enters failed by
adding the following lines to dbus.service file
Restart=Always
RestartSec=1
---
bus/dbus.service.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bus/dbus.service.in b/bus/dbus.service.in
index ca0b7e9..44c26c8 100644
--- a/bus/dbus.service.in
+++ b/bus/dbus.service.in
@@ -7,3 +7,5 @@ Requires=dbus.socket
ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
OOMScoreAdjust=-900
+Restart=always
+RestartSec=1
--
2.19.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konglidong/dbus.git
git@gitee.com:konglidong/dbus.git
konglidong
dbus
dbus
master

搜索帮助