man-db/SOURCES/man-db-cache-update.service

12 lines
358 B
SYSTEMD
Raw Normal View History

2019-08-01 17:47:15 +00:00
[Unit]
After=local-fs.target
[Service]
Type=oneshot
Environment=MAN_NO_LOCALE_WARNING=1
EnvironmentFile=/etc/sysconfig/man-db
ExecStart=/bin/sh -c '[ "$SERVICE" != "no" ] && /usr/bin/mandb $OPTS || true'
2021-10-06 15:14:43 +00:00
ExecStopPost=/bin/sh -c '[ "$SERVICE_RESULT" == "signal" ] && /usr/bin/systemctl enable man-db-restart-cache-update.service || true'
2019-08-01 17:47:15 +00:00
Nice=19
IOWeight=20