Sync from SUSE:SLFO:Main man revision baf19bad303249c0074b0efe686baf7d

This commit is contained in:
2024-05-03 16:33:02 +02:00
commit eb67f2e399
24 changed files with 4712 additions and 0 deletions

30
man-db-create.service Normal file
View File

@@ -0,0 +1,30 @@
[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]
# 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
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/mandb --quiet --create
[Install]
WantedBy=multi-user.target