diff options
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index 2af2685e0d..57b3b77954 100644 --- a/src/unit.c +++ b/src/unit.c @@ -48,7 +48,8 @@ const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX] = { [UNIT_MOUNT] = &mount_vtable, [UNIT_AUTOMOUNT] = &automount_vtable, [UNIT_SNAPSHOT] = &snapshot_vtable, - [UNIT_SWAP] = &swap_vtable + [UNIT_SWAP] = &swap_vtable, + [UNIT_PATH] = &path_vtable }; Unit *unit_new(Manager *m) { @@ -956,6 +957,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { u->meta.active_exit_timestamp = ts; timer_unit_notify(u, ns); + path_unit_notify(u, ns); if (u->meta.job) { |