summaryrefslogtreecommitdiff
path: root/man-db-restart-cache-update.service
blob: 1d0d6ef6a012b42153b726cca7700170d87653ad (plain)
1
2
3
4
5
6
7
8
9
10
11
[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