2011-04-16 08:02:54 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# 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
|
2011-04-16 08:02:54 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Hostname Service
|
2012-06-26 06:04:50 +08:00
|
|
|
Documentation=man:systemd-hostnamed.service(8) man:hostname(5) man:machine-info(5)
|
2012-05-21 21:12:18 +08:00
|
|
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
|
2011-04-16 08:02:54 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
|
|
|
BusName=org.freedesktop.hostname1
|
2014-06-01 14:54:09 +08:00
|
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN
|
2013-12-12 01:14:52 +08:00
|
|
|
WatchdogSec=1min
|
2014-03-19 23:45:28 +08:00
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|
2014-03-20 06:08:39 +08:00
|
|
|
PrivateNetwork=yes
|
2014-06-04 05:41:44 +08:00
|
|
|
ReadOnlySystem=yes
|
|
|
|
ProtectedHome=yes
|