summarylogtreecommitdiffstats
path: root/dnsmasq@lxd.service
blob: a523cfec5118b9ab3b9f9245e1787b879ef1552d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Config for LXD, provided by @jpic

[Unit]
Description=DNS and DHCP for LXD
After=network.target
Documentation=man:dnsmasq(8)

[Service]
Type=dbus
BusName=uk.org.thekelleys.dnsmasq-lxd
ExecStartPre=/usr/bin/dnsmasq --test -C /etc/dnsmasq-lxd.conf
ExecStart=/usr/bin/dnsmasq -k -C /etc/dnsmasq-lxd.conf --user=dnsmasq --pid-file
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target