summaryrefslogtreecommitdiffstats
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-01-09 12:53:18 +0100
committerMike Yuan <me@yhndnzj.com>2024-01-09 14:57:46 +0100
commit9737e2c850c5ff547510d625a80fad890761a3b4 (patch)
treed3e51f5855b39806a7922cd77611eacd0758cb27 /units/systemd-hostnamed.service.in
parentimportd: use Type=notify (diff)
downloadsystemd-9737e2c850c5ff547510d625a80fad890761a3b4.tar.xz
systemd-9737e2c850c5ff547510d625a80fad890761a3b4.zip
hostnamed: use Type=notify
Diffstat (limited to 'units/systemd-hostnamed.service.in')
-rw-r--r--units/systemd-hostnamed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index 1cc15dd7cf..ab00c24b53 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -15,6 +15,7 @@ Documentation=man:machine-info(5)
Documentation=man:org.freedesktop.hostname1(5)
[Service]
+Type=notify
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN
ExecStart={{LIBEXECDIR}}/systemd-hostnamed