2017-12-11 16:13:06 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Initialize /var/cache/man
|
|
|
|
DefaultDependencies=no
|
|
|
|
Wants=local-fs.target
|
|
|
|
After=local-fs.target
|
|
|
|
After=systemd-tmpfiles-setup.service
|
|
|
|
ConditionPathExists=/var/cache/man
|
|
|
|
ConditionPathExists=!/var/cache/man/index.db
|
|
|
|
|
|
|
|
[Service]
|
2021-10-06 16:25:18 +02:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2017-12-11 16:13:06 +01:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=/usr/bin/mandb --quiet --create
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|