summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/radvd/files/radvd.service
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-24 14:53:39 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:42:53 +0200
commitda6908e1d30e214c99ea24ab5ce42b85934447e4 (patch)
tree3c65cca21c7c5301d0b73f57e90abcf47665771e /meta-networking/recipes-daemons/radvd/files/radvd.service
parent061e952c67e556142dc7e2cbaf3c803f84ac45ad (diff)
downloadmeta-openembedded-da6908e1d30e214c99ea24ab5ce42b85934447e4.tar.gz
radvd: add systemd service file
Add systemd service for for radvd. The unit is disabled by default, just as Fedora20 does. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/radvd/files/radvd.service')
-rw-r--r--meta-networking/recipes-daemons/radvd/files/radvd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.service b/meta-networking/recipes-daemons/radvd/files/radvd.service
new file mode 100644
index 000000000..3aac7b27d
--- /dev/null
+++ b/meta-networking/recipes-daemons/radvd/files/radvd.service
@@ -0,0 +1,14 @@
1[Unit]
2Description=Router advertisement daemon for IPv6
3After=network.target
4ConditionPathExists=@SYSCONFDIR@/radvd.conf
5
6[Service]
7Type=forking
8PIDFile=/var/run/radvd/radvd.pid
9EnvironmentFile=-@SYSCONFDIR@/default/radvd
10ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/radvd
11ExecStart=@SBINDIR@/radvd $OPTIONS
12
13[Install]
14WantedBy=multi-user.target