2014-05-16 20:14:23 +02: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 22:10:48 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Network Name Resolution
|
|
|
|
Documentation=man:systemd-resolved.service(8)
|
2015-05-14 22:32:35 +02:00
|
|
|
After=systemd-networkd.service network.target
|
2014-05-18 22:10:48 +02:00
|
|
|
|
2015-01-07 22:19:02 +01: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 22:10:48 +02:00
|
|
|
[Service]
|
|
|
|
Type=notify
|
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-resolved
|
2014-06-01 23:01:20 +02:00
|
|
|
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
|
2014-06-04 18:07:55 +02:00
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=yes
|
2015-01-27 14:30:52 +01:00
|
|
|
WatchdogSec=1min
|
2014-05-18 22:10:48 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|