This function creates symlinks in /lib/systemd/system, which is rarely
appropriate since it makes disabling the service difficult.

It is not used in the gentoo repository.

Signed-off-by: Mike Gilbert <[email protected]>
---
 eclass/systemd.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 04f277e94d64..59749e8d0f86 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -283,6 +283,7 @@ systemd_newtmpfilesd() {
 # EAPIs.
 systemd_enable_service() {
        debug-print-function ${FUNCNAME} "${@}"
+       die "${FUNCNAME} is dead. Do not use it."
 
        [[ ${#} -eq 2 ]] || die "Synopsis: systemd_enable_service target 
service"
 
-- 
2.22.0


Reply via email to