-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/service: destroy runtime data when Type=oneshot services exit
Currently, we have a bunch of Type=oneshot + RemainAfterExit=yes services that make use of credentials. When those exits, the cred mounts remain established, which is pointless and quite annoying. Let's instead destroy the runtime data on SERVICE_EXITED, if no process will be spawned for the unit again. (cherry picked from commit c26948c) Resolves: RHEL-55734
- Loading branch information
1 parent
dee8164
commit 45d3266
Showing
1 changed file
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters