]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-hostnamed.service.in
test-execute: Add tests for new PassEnvironment= directive
[thirdparty/systemd.git] / units / systemd-hostnamed.service.in
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
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
6 # (at your option) any later version.
7
8 [Unit]
9 Description=Hostname Service
10 Documentation=man:systemd-hostnamed.service(8) man:hostname(5) man:machine-info(5)
11 Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
12
13 [Service]
14 ExecStart=@rootlibexecdir@/systemd-hostnamed
15 BusName=org.freedesktop.hostname1
16 CapabilityBoundingSet=CAP_SYS_ADMIN
17 WatchdogSec=3min
18 PrivateTmp=yes
19 PrivateDevices=yes
20 PrivateNetwork=yes
21 ProtectSystem=yes
22 ProtectHome=yes