chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journald: add CAP_MAC_OVERRIDE in journald for SMACK issue
[elogind.git]
/
units
/
systemd-hostnamed.service.in
diff --git
a/units/systemd-hostnamed.service.in
b/units/systemd-hostnamed.service.in
index 1ed942fe174524abc1778a315cd7b572585e3b28..cc88ecd0db28b79958e3ea8952cc6319e0706206 100644
(file)
--- a/
units/systemd-hostnamed.service.in
+++ b/
units/systemd-hostnamed.service.in
@@
-5,13
+5,18
@@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-# See systemd.special(7) for details
-
[Unit]
Description=Hostname Service
[Unit]
Description=Hostname Service
+Documentation=man:systemd-hostnamed.service(8) man:hostname(5) man:machine-info(5)
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
[Service]
ExecStart=@rootlibexecdir@/systemd-hostnamed
[Service]
ExecStart=@rootlibexecdir@/systemd-hostnamed
-Type=dbus
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN
+WatchdogSec=1min
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateNetwork=yes
+ProtectSystem=yes
+ProtectHome=yes