summaryrefslogtreecommitdiff
path: root/units/tizen-init-done.service.m4.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/tizen-init-done.service.m4.in')
-rw-r--r--units/tizen-init-done.service.m4.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/units/tizen-init-done.service.m4.in b/units/tizen-init-done.service.m4.in
new file mode 100644
index 0000000..a2535c8
--- /dev/null
+++ b/units/tizen-init-done.service.m4.in
@@ -0,0 +1,14 @@
+[Unit]
+Description=Tizen initialized flag done
+After=default.target
+ConditionPathExists=!@INITIALIZE_DONE@
+RefuseManualStart=yes
+
+[Service]
+ExecStart=/bin/touch @INITIALIZE_DONE@
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+WantedBy=tizen-init.target