2014-05-16 22:14:23 +04: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-19 00:10:48 +04:00
[Unit]
Description=Network Name Resolution
Documentation=man:systemd-resolved.service(8)
2016-02-23 18:24:01 +03:00
Documentation=http://www.freedesktop.org/wiki/Software/systemd/resolved
Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
2015-05-14 23:32:35 +03:00
After=systemd-networkd.service network.target
2014-05-19 00:10:48 +04:00
2015-01-08 00:19:02 +03: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-19 00:10:48 +04:00
[Service]
Type=notify
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-resolved
2014-06-02 01:01:20 +04:00
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
2014-06-04 20:07:55 +04:00
ProtectSystem=full
ProtectHome=yes
2015-09-23 18:27:39 +03:00
WatchdogSec=3min
2016-06-08 15:23:37 +03:00
MemoryDenyWriteExecute=yes
2016-06-09 10:32:04 +03:00
SystemCallFilter=~@clock @module @mount @obsolete @raw-io ptrace
2014-05-19 00:10:48 +04:00
[Install]
WantedBy=multi-user.target