Как переместить локальный репозиторий git пакета в другой каталог сборки и пропустить его повторную загрузку, yay или pacman?

systemd-tmpfiles-clean.serviceинициируется systemd-tmpfiles-clean.timer. Вы можете проверить таймеры с помощью systemctl list-timers.

По крайней мере, в Ubuntu 16.04 systemd-tmpfiles-clean.timerопределяется как

# Use `systemctl cat systemd-tmpfiles-clean.timer` to get your corresponding file
#
# /lib/systemd/system/systemd-tmpfiles-clean.timer
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
[Unit]
Description=Daily Cleanup of Temporary Directories
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)

[Timer]
OnBootSec=15min
OnUnitActiveSec=1d

Таким образом, таймер запускается systemd-tmpfiles-clean.serviceчерез 15 минут после загрузки, а затем каждые 24 часа.

Для получения дополнительной информации см. systemd.timer(5), systemd.service(5)и systemd.unit(5).

0
08.03.2021, 09:07
1 ответ

Копия репозитория git — это просто каталог.

gnu mvможет перемещать каталоги в новые разделы, так что просто используйте это.

0
18.03.2021, 22:27

Теги

Похожие вопросы