From 45fb0699c45d2e042e04a53e3ea00501e3f65f59 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Jul 2010 00:57:51 +0200 Subject: systemctl: warn when operating on service files that changed on disk but haven't been reloaded --- src/unit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/unit.h') 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); -- cgit v1.2.3-54-g00ecf