mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
resolved: add busname unit file
This commit is contained in:
parent
18641cb17e
commit
b7e6c03d3b
@ -4575,6 +4575,9 @@ rootlibexec_PROGRAMS += \
|
|||||||
nodist_systemunit_DATA += \
|
nodist_systemunit_DATA += \
|
||||||
units/systemd-resolved.service
|
units/systemd-resolved.service
|
||||||
|
|
||||||
|
dist_systemunit_DATA += \
|
||||||
|
units/org.freedesktop.resolve1.busname
|
||||||
|
|
||||||
dist_dbuspolicy_DATA += \
|
dist_dbuspolicy_DATA += \
|
||||||
src/resolve/org.freedesktop.resolve1.conf
|
src/resolve/org.freedesktop.resolve1.conf
|
||||||
|
|
||||||
@ -4584,6 +4587,12 @@ dist_dbussystemservice_DATA += \
|
|||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
units/systemd-resolved.service.in
|
units/systemd-resolved.service.in
|
||||||
|
|
||||||
|
SYSTEM_UNIT_ALIASES += \
|
||||||
|
systemd-resolved.service dbus-org.freedesktop.resolve1.service
|
||||||
|
|
||||||
|
BUSNAMES_TARGET_WANTS += \
|
||||||
|
org.freedesktop.resolve1.busname
|
||||||
|
|
||||||
GENERAL_ALIASES += \
|
GENERAL_ALIASES += \
|
||||||
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
|
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
|
||||||
|
|
||||||
|
16
units/org.freedesktop.resolve1.busname
Normal file
16
units/org.freedesktop.resolve1.busname
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 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.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Network Name Resolution Service Bus Name
|
||||||
|
Documentation=man:systemd-resolved.service(8)
|
||||||
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/resolved
|
||||||
|
|
||||||
|
[BusName]
|
||||||
|
Service=systemd-resolved.service
|
||||||
|
AllowWorld=talk
|
||||||
|
AllowUser=systemd-resolve own
|
Loading…
Reference in New Issue
Block a user