mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
1b8689f949
Also, rename ProtectedHome= to ProtectHome=, to simplify things a bit. With this in place we now have two neat options ProtectSystem= and ProtectHome= for protecting the OS itself (and optionally its configuration), and for protecting the user's data.
21 lines
659 B
SYSTEMD
21 lines
659 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# 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.
|
|
|
|
[Unit]
|
|
Description=Time & Date Service
|
|
Documentation=man:systemd-timedated.service(8) man:localtime(5)
|
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
|
|
|
[Service]
|
|
ExecStart=@rootlibexecdir@/systemd-timedated
|
|
BusName=org.freedesktop.timedate1
|
|
CapabilityBoundingSet=CAP_SYS_TIME
|
|
WatchdogSec=1min
|
|
PrivateTmp=yes
|
|
ProtectSystem=yes
|
|
ProtectHome=yes
|