summaryrefslogtreecommitdiff
path: root/units/init-conf.service.m4
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
commit4725260e575eec8371cc30afc93fbe09f855d85d (patch)
tree87c410179e6a4c3e06d31b31565f0d46215b6c79 /units/init-conf.service.m4
parentf66f61d6d5c9f9928f140ebfbda80284d1331529 (diff)
downloadsystem-plugin-common-959587286418e866d1cac96ffe0c41466a461648.tar.gz
system-plugin-common-959587286418e866d1cac96ffe0c41466a461648.tar.bz2
system-plugin-common-959587286418e866d1cac96ffe0c41466a461648.zip
Diffstat (limited to 'units/init-conf.service.m4')
-rw-r--r--units/init-conf.service.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/units/init-conf.service.m4 b/units/init-conf.service.m4
new file mode 100644
index 0000000..0723574
--- /dev/null
+++ b/units/init-conf.service.m4
@@ -0,0 +1,17 @@
+[Unit]
+Description=Run init.%H.conf
+DefaultDependencies=no
+After=local-fs.target
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
+ConditionFileNotEmpty=/etc/init.%H.conf
+
+[Service]
+Type=oneshot
+ExecStart=/bin/bash -c '/etc/init.%H.conf'
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+WantedBy=sysinit.target