]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
core: hook up service unit type with the new clean operation
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Apr 2019 16:48:20 +0000 (18:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jul 2019 10:18:51 +0000 (12:18 +0200)
commit4c2f5842308e835beaff012aea1a77ebe0cf5ad8
treeceb82d33f7cb3b2c3c53d0744d8010aa6260d4dc
parent380dc8b0a25f544269fdff7d9fd0e488fb374031
core: hook up service unit type with the new clean operation

The implementation is pretty straight-foward: when we get a request to
clean some type of resources we fork off a process doing that, and while
it is running we are in the "cleaning" state.
src/basic/unit-def.c
src/basic/unit-def.h
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/service.c
src/core/service.h