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:
committed by
Lennart Poettering
parent
3ac251b81a
commit
4ad61fd180
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user