1 |
This function creates symlinks in /lib/systemd/system, which is rarely |
2 |
appropriate since it makes disabling the service difficult. |
3 |
|
4 |
It is not used in the gentoo repository. |
5 |
|
6 |
Signed-off-by: Mike Gilbert <floppym@g.o> |
7 |
--- |
8 |
eclass/systemd.eclass | 1 + |
9 |
1 file changed, 1 insertion(+) |
10 |
|
11 |
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass |
12 |
index 04f277e94d64..59749e8d0f86 100644 |
13 |
--- a/eclass/systemd.eclass |
14 |
+++ b/eclass/systemd.eclass |
15 |
@@ -283,6 +283,7 @@ systemd_newtmpfilesd() { |
16 |
# EAPIs. |
17 |
systemd_enable_service() { |
18 |
debug-print-function ${FUNCNAME} "${@}" |
19 |
+ die "${FUNCNAME} is dead. Do not use it." |
20 |
|
21 |
[[ ${#} -eq 2 ]] || die "Synopsis: systemd_enable_service target service" |
22 |
|
23 |
-- |
24 |
2.22.0 |