projects
/
platform
/
core
/
security
/
askuser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b6688
)
Remove systemctl enable command.
18/116218/2
author
jin-gyu.kim
<jin-gyu.kim@samsung.com>
Thu, 23 Feb 2017 10:01:21 +0000
(19:01 +0900)
committer
jin-gyu.kim
<jin-gyu.kim@samsung.com>
Fri, 24 Feb 2017 07:18:01 +0000
(16:18 +0900)
- "/etc/systemd/system" points "/opt/etc/systemd/system".
- It is RW file system, but service file only should be in RO.
- Also all other service files are in ${_unitdir}.
- Therefore remove systemctl enable, add link manually.
Change-Id: Ibf2de46ff211c610df8042c3f1c12ea030d5b853
packaging/askuser.spec
patch
|
blob
|
history
diff --git
a/packaging/askuser.spec
b/packaging/askuser.spec
index
93abab7
..
6655eab
100644
(file)
--- a/
packaging/askuser.spec
+++ b/
packaging/askuser.spec
@@
-116,10
+116,6
@@
ln -s /usr/lib/systemd/system/askuser.service \
systemctl daemon-reload
-if [ $1 = 1 ]; then
- systemctl enable askuser.service
-fi
-
systemctl restart askuser.service
%endif