2017-11-19 00:35:03 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2014-06-13 19:10:30 +08:00
|
|
|
# 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=Rebuild Journal Catalog
|
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
2019-03-13 03:23:25 +08:00
|
|
|
After=local-fs.target systemd-tmpfiles-setup.service
|
2014-06-13 19:10:30 +08:00
|
|
|
Before=sysinit.target shutdown.target systemd-update-done.service
|
2016-12-29 17:38:52 +08:00
|
|
|
ConditionNeedsUpdate=/var
|
2014-06-13 19:10:30 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=@rootbindir@/journalctl --update-catalog
|
2015-02-03 04:34:32 +08:00
|
|
|
TimeoutSec=90s
|