mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 04:44:40 +08:00
16 lines
383 B
SYSTEMD
16 lines
383 B
SYSTEMD
|
[Unit]
|
||
|
Description=A lightweight DHCP and caching DNS server
|
||
|
After=network.target
|
||
|
Documentation=man:dnsmasq(8)
|
||
|
|
||
|
[Service]
|
||
|
Type=dbus
|
||
|
BusName=uk.org.thekelleys.dnsmasq
|
||
|
ExecStartPre=/usr/bin/dnsmasq --test
|
||
|
ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
Alias=dbus-uk.org.thekelleys.dnsmasq
|