summaryrefslogtreecommitdiff
path: root/packaging/resize2fs-opt.service
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 13:01:07 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 13:01:07 +0900
commit879783df803a387a0e742fdf1b9ec7496035b3ed (patch)
tree46b2549125f324a18b7ce7ad49a4a3e4d221992f /packaging/resize2fs-opt.service
downloadsystem-plugin-slp-tizen_2.3.tar.gz
system-plugin-slp-tizen_2.3.tar.bz2
system-plugin-slp-tizen_2.3.zip
Diffstat (limited to 'packaging/resize2fs-opt.service')
-rw-r--r--packaging/resize2fs-opt.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/resize2fs-opt.service b/packaging/resize2fs-opt.service
new file mode 100644
index 0000000..da53eac
--- /dev/null
+++ b/packaging/resize2fs-opt.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Resize /opt file system
+DefaultDependencies=no
+#Requires=fsck@dev-mmcblk0p6.service
+After=fsck@dev-mmcblk0p6.service
+Before=opt.mount local-fs.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/usr/bin/systemctl start resize2fs@dev-mmcblk0p6.service
+ExecStartPost=/bin/ln -s /dev/null /etc/systemd/system/resize2fs-opt.service
+StandardOutput=journal+console
+TimeoutSec=0