From: jin-gyu.kim Date: Thu, 23 Feb 2017 10:01:21 +0000 (+0900) Subject: Remove systemctl enable command. X-Git-Tag: accepted/tizen/common/20170314.173054~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F116218%2F2;p=platform%2Fcore%2Fsecurity%2Faskuser.git Remove systemctl enable command. - "/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 --- diff --git a/packaging/askuser.spec b/packaging/askuser.spec index 93abab7..6655eab 100644 --- 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