X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-hostnamed.service.in;h=1ed942fe174524abc1778a315cd7b572585e3b28;hb=84f4fc4215bb6ddaa0b640e731242dd8517a3a79;hp=32a3ab5f9a209e2094dd374991f3122819b0e9fb;hpb=7640a5de1b3ffe6547200ad204d14e4f067caf4f;p=elogind.git diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 32a3ab5f9..1ed942fe1 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -1,8 +1,8 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# 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. # See systemd.special(7) for details @@ -14,3 +14,4 @@ Description=Hostname Service ExecStart=@rootlibexecdir@/systemd-hostnamed Type=dbus BusName=org.freedesktop.hostname1 +CapabilityBoundingSet=CAP_SYS_ADMIN