rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 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 |