2014-05-16 18:14:23 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2014-05-18 20:10:48 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Network Name Resolution
|
|
|
|
Documentation=man:systemd-resolved.service(8)
|
|
|
|
After=systemd-networkd.service network.service
|
|
|
|
|
2015-01-07 21:19:02 +00:00
|
|
|
# On kdbus systems we pull in the busname explicitly, because it
|
|
|
|
# carries policy that allows the daemon to acquire its name.
|
|
|
|
Wants=org.freedesktop.resolve1.busname
|
|
|
|
After=org.freedesktop.resolve1.busname
|
|
|
|
|
2014-05-18 20:10:48 +00:00
|
|
|
[Service]
|
|
|
|
Type=notify
|
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-resolved
|
2014-06-01 21:01:20 +00:00
|
|
|
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
|
2015-02-11 16:32:14 +00:00
|
|
|
SecureBits=noroot noroot-locked
|
2014-06-04 16:07:55 +00:00
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=yes
|
2015-01-27 13:30:52 +00:00
|
|
|
WatchdogSec=1min
|
2014-05-18 20:10:48 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|