projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdb329
)
Fix restart option to on-failure
56/246156/2
author
Youngjae Cho
<y0.cho@samsung.com>
Mon, 26 Oct 2020 06:10:10 +0000
(15:10 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 26 Oct 2020 06:22:32 +0000
(06:22 +0000)
This prevents restarting deviced when the deviced is returning main()
through poweroff sequence.
Change-Id: Icbb4a8c306721a1613c04d41060fbbd323c5e62b
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
systemd/deviced.service
patch
|
blob
|
history
diff --git
a/systemd/deviced.service
b/systemd/deviced.service
index
0f07bff
..
817c32d
100644
(file)
--- a/
systemd/deviced.service
+++ b/
systemd/deviced.service
@@
-11,7
+11,7
@@
Type=notify
SmackProcessLabel=System::Privileged
Environment=XDG_RUNTIME_DIR=/run
ExecStart=/usr/bin/deviced
-Restart=
always
+Restart=
on-failure
RestartSec=0
KillSignal=SIGUSR1