mirror of
https://github.com/systemd/systemd.git
synced 2024-12-03 23:33:38 +08:00
4e069746fe
Take away kernel keyring access, CPU emulation system calls and various debug system calls from the various daemons we have.
23 lines
768 B
SYSTEMD
23 lines
768 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=3min
|
|
PrivateTmp=yes
|
|
ProtectSystem=yes
|
|
ProtectHome=yes
|
|
MemoryDenyWriteExecute=yes
|
|
SystemCallFilter=~@cpu-emulation @debug @keyring @module @mount @obsolete @raw-io
|