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

12 lines
301 B
SYSTEMD
Raw Normal View History

2021-11-09 10:08:00 +00:00
[Unit]
Before=multi-user.target
[Service]
Type=oneshot
ExecStartPre=/usr/bin/rm -rf /var/cache/man/*
ExecStart=/usr/bin/systemd-run /usr/bin/systemctl start man-db-cache-update.service
ExecStartPost=/usr/bin/systemctl disable man-db-restart-cache-update.service
[Install]
WantedBy=multi-user.target