diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-17 00:57:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-17 00:57:51 +0200 |
commit | 45fb0699c45d2e042e04a53e3ea00501e3f65f59 (patch) | |
tree | 55d27b0b989e6d7f8770cb0ba1adbd300425c82e /src/unit.h | |
parent | ceda54d93c9c16f24737412cfbc719e01c474ef6 (diff) |
systemctl: warn when operating on service files that changed on disk but haven't been reloaded
Diffstat (limited to 'src/unit.h')
-rw-r--r-- | src/unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h index 5d68583f10..d3a00797f9 100644 --- a/src/unit.h +++ b/src/unit.h @@ -141,6 +141,7 @@ struct Meta { char *description; char *fragment_path; /* if loaded from a config file this is the primary path to it */ + usec_t fragment_mtime; /* If there is something to do with this unit, then this is * the job for it */ @@ -458,6 +459,8 @@ int unit_coldplug(Unit *u); void unit_status_printf(Unit *u, const char *format, ...); +bool unit_need_daemon_reload(Unit *u); + const char *unit_type_to_string(UnitType i); UnitType unit_type_from_string(const char *s); |