Include systemd unit file
This commit is contained in:
parent
a4a3c3269d
commit
027222403b
12
dnsmasq.service
Normal file
12
dnsmasq.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=DNS caching server.
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/dnsmasq.pid
|
||||
EnvironmentFile=/etc/sysconfig/network
|
||||
ExecStart=/usr/sbin/dnsmasq -s $HOSTNAME
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -11,7 +11,7 @@
|
||||
|
||||
Name: dnsmasq
|
||||
Version: 2.52
|
||||
Release: 3%{?extraversion}%{?dist}
|
||||
Release: 4%{?extraversion}%{?dist}
|
||||
Summary: A lightweight DHCP/caching DNS server
|
||||
|
||||
Group: System Environment/Daemons
|
||||
@ -118,6 +118,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-4
|
||||
- Include systemd unit file
|
||||
|
||||
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-3
|
||||
- Applied Jóhann's patch, minor cleanup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user