From 4ad61fd1806dde23d2c99043b4bed91a196d2c82 Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Fri, 22 Mar 2013 21:04:53 -0300 Subject: add --with-telinit=PATH configure option Distributions that never shipped upstart do not have "telinit" in /lib/upstart/.. Defaults to /lib/upstart/telinit so there is no change for systems existing installs. --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systemctl') diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 1ea0e4e7ec..edd136addd 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4918,7 +4918,7 @@ static int parse_argv(int argc, char *argv[]) { * request to it. For now we simply * guess that it is Upstart. */ - execv("/lib/upstart/telinit", argv); + execv(TELINIT, argv); log_error("Couldn't find an alternative telinit implementation to spawn."); return -EIO; -- cgit v1.2.3-54-g00ecf