]>
Commit | Line | Data |
---|---|---|
7640a5de LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
7640a5de LP |
6 | # (at your option) any later version. |
7 | ||
7640a5de LP |
8 | [Unit] |
9 | Description=Hostname Service | |
29f4f511 | 10 | Documentation=man:systemd-hostnamed.service(8) man:hostname(5) man:machine-info(5) |
16a5d412 | 11 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/hostnamed |
7640a5de LP |
12 | |
13 | [Service] | |
14 | ExecStart=@rootlibexecdir@/systemd-hostnamed | |
7640a5de | 15 | BusName=org.freedesktop.hostname1 |
c2fc2c25 | 16 | WatchdogSec=3min |
0c28d51a | 17 | CapabilityBoundingSet=CAP_SYS_ADMIN |
d99a7052 LP |
18 | PrivateTmp=yes |
19 | PrivateDevices=yes | |
f21a71a9 | 20 | PrivateNetwork=yes |
c7fb922d | 21 | ProtectSystem=strict |
1b8689f9 | 22 | ProtectHome=yes |
0c28d51a LP |
23 | ProtectControlGroups=yes |
24 | ProtectKernelTunables=yes | |
b6c7278c | 25 | ProtectKernelModules=yes |
40652ca4 | 26 | MemoryDenyWriteExecute=yes |
0c28d51a | 27 | RestrictRealtime=yes |
3c19d0b4 | 28 | RestrictNamespaces=yes |
0c28d51a | 29 | RestrictAddressFamilies=AF_UNIX |
6489ccfe | 30 | SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap |
7f396e5f | 31 | SystemCallArchitectures=native |
c7fb922d | 32 | ReadWritePaths=/etc |