chiark / gitweb /
man: clarify what Restart= means
[elogind.git] / src / core / service.c
index cf0bbe05fc649fa3d870acc29fd5f45322253d7a..5803f798e0f702ca463d77029cec4d75585d25cb 100644 (file)
@@ -1466,6 +1466,9 @@ static int service_search_main_pid(Service *s) {
         r = unit_watch_pid(UNIT(s), pid);
         if (r < 0)
                 /* FIXME: we need to do something here */
+                log_warning_unit(UNIT(s)->id,
+                                 "Failed to watch PID %lu from service %s",
+                                 (unsigned long) pid, UNIT(s)->id);
                 return r;
 
         return 0;