summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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