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.
This commit is contained in:
Cristian Rodríguez
2013-03-23 01:44:56 +01:00
committed by Lennart Poettering
parent 3ac251b81a
commit 4ad61fd180
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -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;