chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
units: add SecureBits
[elogind.git]
/
units
/
systemd-hostnamed.service.in
diff --git
a/units/systemd-hostnamed.service.in
b/units/systemd-hostnamed.service.in
index cc88ecd0db28b79958e3ea8952cc6319e0706206..259b451cbdf49405d75c74a14caee4bfad52d611 100644
(file)
--- a/
units/systemd-hostnamed.service.in
+++ b/
units/systemd-hostnamed.service.in
@@
-14,6
+14,7
@@
Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
ExecStart=@rootlibexecdir@/systemd-hostnamed
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN
+SecureBits=noroot noroot-locked
WatchdogSec=1min
PrivateTmp=yes
PrivateDevices=yes