]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
c2f1db8f | 2 | #pragma once |
5cb5a6ff | 3 | |
1a7f1b38 | 4 | #include "dropin.h" |
71d35b6b | 5 | #include "unit.h" |
5cb5a6ff LP |
6 | |
7 | /* Read service data supplementary drop-in directories */ | |
8 | ||
1a7f1b38 | 9 | static inline int unit_find_dropin_paths(Unit *u, char ***paths) { |
b119facd LP |
10 | assert(u); |
11 | ||
043fdc40 ZJS |
12 | return unit_file_find_dropin_paths(NULL, |
13 | u->manager->lookup_paths.search_path, | |
14 | u->manager->unit_path_cache, | |
15 | ".d", ".conf", | |
4562c355 | 16 | u->id, u->aliases, |
043fdc40 | 17 | paths); |
1a7f1b38 ZJS |
18 | } |
19 | ||
87f0e418 | 20 | int unit_load_dropin(Unit *u); |