core: clean up OnFailure= and OnSuccess= handling a bit
authorMike Yuan <me@yhndnzj.com>
Fri, 7 Jun 2024 22:02:26 +0000 (00:02 +0200)
committerMike Yuan <me@yhndnzj.com>
Sun, 9 Jun 2024 13:15:11 +0000 (15:15 +0200)
commit9faeb2d024540ac4b94dedb00a13606ec262cc31
tree11cb6deb5d2ad7bf774748ec18b01ee8f4b7f014
parent8c4514b258f35b9e9a05dd483b7605adac732b6f
core: clean up OnFailure= and OnSuccess= handling a bit

- Replace "on_failure" in function names with "on_termination"
- Only pass UnitDependencyAtom in, as other info can be
  determined from that
src/core/job.c
src/core/unit.c
src/core/unit.h