summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjooseong lee <jooseong.lee@samsung.com>2016-07-20 20:05:16 +0900
committerjooseong lee <jooseong.lee@samsung.com>2016-07-20 20:05:16 +0900
commit146ddab6213428a7b2865d10311525a1f549957c (patch)
tree9672f91ee2be92f8e3ecaa0f47e025202ef58c97
parent633c401e1ba0634c40aa7b789fa026ea69aeeac4 (diff)
downloadsystem-plugin-accepted/tizen/ivi/20160721.090757.tar.gz
system-plugin-accepted/tizen/ivi/20160721.090757.tar.bz2
system-plugin-accepted/tizen/ivi/20160721.090757.zip
Change-Id: I4ed51c4f9a533caf87094b22d917316f83730ccc Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
-rw-r--r--units/resize2fs@.service1
-rw-r--r--units/tizen-fstrim-user.service1
-rw-r--r--units/tizen-system-env.service1
-rw-r--r--units/umount-opt.service1
4 files changed, 4 insertions, 0 deletions
diff --git a/units/resize2fs@.service b/units/resize2fs@.service
index 8802a59..6bdd9b6 100644
--- a/units/resize2fs@.service
+++ b/units/resize2fs@.service
@@ -8,6 +8,7 @@ Before=shutdown.target
[Service]
Type=oneshot
+SmackProcessLabel=System
ExecStart=/sbin/resize2fs -f %f
ExecStartPost=/bin/ln -s /dev/null /etc/systemd/system/resize2fs@%i.service
StandardOutput=journal+console
diff --git a/units/tizen-fstrim-user.service b/units/tizen-fstrim-user.service
index 524086d..33cea57 100644
--- a/units/tizen-fstrim-user.service
+++ b/units/tizen-fstrim-user.service
@@ -4,6 +4,7 @@ Requires=opt.mount
[Service]
Type=oneshot
+SmackProcessLabel=System
ExecStart=/usr/bin/tizen-fstrim-on-charge.sh /opt
StandardOutput=journal
StandardError=inherit
diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service
index 3130b8c..fac769e 100644
--- a/units/tizen-system-env.service
+++ b/units/tizen-system-env.service
@@ -5,6 +5,7 @@ Before=basic.target
[Service]
Type=oneshot
+SmackProcessLabel=System
ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)=" > /run/tizen-system-env'
ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env'
diff --git a/units/umount-opt.service b/units/umount-opt.service
index dcf6c13..9402151 100644
--- a/units/umount-opt.service
+++ b/units/umount-opt.service
@@ -8,4 +8,5 @@ Requires=local-fs-pre.target
[Service]
Type=oneshot
RemainAfterExit=yes
+SmackProcessLabel=System
ExecStart=/bin/umount -l /opt