Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 587586
Collapse All | Expand All

(-)a/net-dns/dnsmasq/files/dnsmasq.service-r1 (-1 / +12 lines)
Lines 3-12 Description=A lightweight DHCP and caching DNS server Link Here
3
After=network.target
3
After=network.target
4
4
5
[Service]
5
[Service]
6
User=dnsmasq
7
Group=dnsmasq
6
Type=simple
8
Type=simple
9
PIDFile=/run/dnsmasq/dnsmasq.pid 
7
ExecStartPre=/usr/sbin/dnsmasq --test
10
ExecStartPre=/usr/sbin/dnsmasq --test
8
ExecStart=/usr/sbin/dnsmasq -k --user=dnsmasq --group=dnsmasq
11
ExecStart=/usr/sbin/dnsmasq -k -x /run/dnsmasq/dnsmasq.pid 
9
ExecReload=/bin/kill -HUP $MAINPID
12
ExecReload=/bin/kill -HUP $MAINPID
13
RuntimeDirectory=dnsmasq
14
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
15
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
16
PrivateTmp=yes
17
PrivateDevices=yes
18
ProtectSystem=full
19
ProtectHome=yes
20
NoNewPrivileges=yes
10
21
11
[Install]
22
[Install]
12
WantedBy=multi-user.target
23
WantedBy=multi-user.target

Return to bug 587586