aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/files/dhcrelay.service
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-08-08 02:52:47 -0400
committerChen Qi <Qi.Chen@windriver.com>2014-09-03 15:05:42 +0800
commit85d96d3058de64759667dd5aac72cfa1d84d9a84 (patch)
tree66025ca449db23cbfd655e73d401db0ce18ba430 /meta/recipes-connectivity/dhcp/files/dhcrelay.service
parent987c90ac9e9ba42af9e24a3d89354b8d57cab1fd (diff)
downloadopenembedded-core-contrib-85d96d3058de64759667dd5aac72cfa1d84d9a84.tar.gz
dhcp: add systemd service files
Add dhcpd.service and dhcrelay.service to support systemd systems. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/files/dhcrelay.service')
-rw-r--r--meta/recipes-connectivity/dhcp/files/dhcrelay.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/files/dhcrelay.service b/meta/recipes-connectivity/dhcp/files/dhcrelay.service
new file mode 100644
index 0000000000..a2d818917d
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/files/dhcrelay.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=DHCP Relay Agent Daemon
+After=network.target
+
+[Service]
+ExecStart=@SBINDIR@/dhcrelay -d --no-pid
+
+[Install]
+WantedBy=multi-user.target