Warning, /plasma/drkonqi/src/coredump/cleanup/drkonqi-coredump-cleanup.service.cmake is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0002 # SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org>
0003 
0004 [Unit]
0005 Description=Cleanup lingering KCrash metadata
0006 ConditionPathExistsGlob=%C/kcrash-metadata/*.ini
0007 PartOf=graphical-session.target
0008 After=plasma-core.target
0009 
0010 [Service]
0011 ExecStart=@KDE_INSTALL_FULL_LIBEXECDIR@/drkonqi-coredump-cleanup %C/kcrash-metadata/
0012 RuntimeMaxSec=30 minutes
0013 
0014 [Install]
0015 # This is a bit of a stop-gap. Ideally we should have a different service run on login to
0016 # pick up lingering crashes that are relevant (e.g. crash on last logout) and only what is
0017 # left over should then get cleaned up (if the file is old enough).
0018 # Since we currently lack the UI infrastructure for that we had better clean up on login
0019 # unconditionally.
0020 WantedBy=default.target