projects
/
platform
/
core
/
system
/
modes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a518ac2
)
add restart-daemon logic
author
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 7 Aug 2019 01:47:25 +0000
(10:47 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 18 Mar 2020 08:53:50 +0000
(17:53 +0900)
packaging/modes.spec
patch
|
blob
|
history
diff --git
a/packaging/modes.spec
b/packaging/modes.spec
index
9633ac8
..
2787ab2
100644
(file)
--- a/
packaging/modes.spec
+++ b/
packaging/modes.spec
@@
-106,7
+106,10
@@
xmllint --noout --schema schema/tizen_mode.xsd example/mode/tizen_*_mode.xml
xmllint --noout --schema schema/tizen_action_rule.xsd example/rule/tizen_*_rule.xml
bash ./unittest/modes-gtest-run.sh ./example ./unittest
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+systemctl daemon-reload
+systemctl restart %{name}.service
%posttrans unittests
%{modes_test_dir}/modes-gtest-run.sh %{modes_data_dir} %{modes_test_dir}