diff options
author | Suchang Woo <suchang.woo@samsung.com> | 2015-03-17 15:58:17 +0900 |
---|---|---|
committer | Suchang Woo <suchang.woo@samsung.com> | 2015-03-18 21:24:38 +0900 |
commit | 8d40e831f8d5534be16d3ce6cc8ce44746b5b26a (patch) | |
tree | 52723e2e00d1f460d6e9c4e6534b6165e58cbd44 /units/resize2fs@.service | |
parent | 63f36a36bbf6e45b2cf419113b3b5e3d9752ecec (diff) | |
download | system-plugin-8d40e831f8d5534be16d3ce6cc8ce44746b5b26a.tar.gz system-plugin-8d40e831f8d5534be16d3ce6cc8ce44746b5b26a.tar.bz2 system-plugin-8d40e831f8d5534be16d3ce6cc8ce44746b5b26a.zip |
Add spec, license and systemd unit files
system-plugin and system-plugin-u3 packages are defined in .spec file.
system-plugin package provides common files. and, system-plugin-u3
package provides files which are used only for U3/XU3 target.
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: Ied345423c7cee77219be52c73bc014b96efc4cc2
Diffstat (limited to 'units/resize2fs@.service')
-rw-r--r-- | units/resize2fs@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/units/resize2fs@.service b/units/resize2fs@.service new file mode 100644 index 0000000..8802a59 --- /dev/null +++ b/units/resize2fs@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Resize of File System on %f +DefaultDependencies=no +BindsTo=%i.device +After=systemd-fsck@%i.service local-fs.target +Requires=systemd-fsck@%i.service +Before=shutdown.target + +[Service] +Type=oneshot +ExecStart=/sbin/resize2fs -f %f +ExecStartPost=/bin/ln -s /dev/null /etc/systemd/system/resize2fs@%i.service +StandardOutput=journal+console +TimeoutSec=0 |