summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/mdns/files/mdns.service
blob: 531d142dcdebe11b80f5da3dbfba6f50451db7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Zero-configuration networking
After=network.target

[Service]
Type=forking
ExecStartPre=/bin/rm -f /var/run/mdnsd.pid
ExecStart=/usr/sbin/mdnsd
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/mdnsd.pid
Restart=always
RestartSec=10s

[Install]
WantedBy=multi-user.target