diff options
Diffstat (limited to 'units/tizen-fstrim-user.service.m4')
-rw-r--r-- | units/tizen-fstrim-user.service.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/units/tizen-fstrim-user.service.m4 b/units/tizen-fstrim-user.service.m4 new file mode 100644 index 0000000..abbefc7 --- /dev/null +++ b/units/tizen-fstrim-user.service.m4 @@ -0,0 +1,12 @@ +[Unit] +Description=Discard unused blocks on user partition +Requires=opt-usr.mount + +[Service] +Type=oneshot +ExecStart=/usr/bin/tizen-fstrim-on-charge.sh /opt/usr +StandardOutput=journal +StandardError=inherit +m4_ifdef(`SMACK_LABEL', +SmackProcessLabel=system-plugin-common::script +)m4_dnl |