diff options
Diffstat (limited to 'meta-networking/recipes-protocols/mdns/files/mdns.service')
-rw-r--r-- | meta-networking/recipes-protocols/mdns/files/mdns.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/mdns/files/mdns.service b/meta-networking/recipes-protocols/mdns/files/mdns.service new file mode 100644 index 000000000..531d142dc --- /dev/null +++ b/meta-networking/recipes-protocols/mdns/files/mdns.service | |||
@@ -0,0 +1,15 @@ | |||
1 | [Unit] | ||
2 | Description=Zero-configuration networking | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | ExecStartPre=/bin/rm -f /var/run/mdnsd.pid | ||
8 | ExecStart=/usr/sbin/mdnsd | ||
9 | ExecReload=/bin/kill -HUP $MAINPID | ||
10 | PIDFile=/var/run/mdnsd.pid | ||
11 | Restart=always | ||
12 | RestartSec=10s | ||
13 | |||
14 | [Install] | ||
15 | WantedBy=multi-user.target | ||