aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/apmd/apmd-3.2.2-14
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2013-09-12 06:31:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-14 08:22:11 +0100
commit9e963fe587dda3ce77707194fc5dd029188c76d8 (patch)
tree5e5fa1788d5662953ae6e2ba27325bdddf8b0b82 /meta/recipes-bsp/apmd/apmd-3.2.2-14
parent177bf318bcd3dd2bfb3bec094b1f5ccac7bdd9ac (diff)
downloadopenembedded-core-contrib-9e963fe587dda3ce77707194fc5dd029188c76d8.tar.gz
apmd: Add systemd support
-Remove dependency on meta-systemd Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/apmd/apmd-3.2.2-14')
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service b/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service
new file mode 100644
index 0000000000..62d6af1019
--- /dev/null
+++ b/meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Advanced Power Management daemon
+After=remote-fs.target
+
+[Service]
+EnvironmentFile-= @SYSCONFDIR@/default/apmd
+ExecStart=@SBINDIR@/apmd -P @SYSCONFDIR@/apm/apmd_proxy $APMD