diff options
author | Brian Norris <briannorris@google.com> | 2016-05-27 13:07:05 -0700 |
---|---|---|
committer | Brian Norris <briannorris@google.com> | 2016-05-27 13:07:05 -0700 |
commit | 441de8b2e031703feec2d8e7bacab0e1223e818a (patch) | |
tree | f872afcaad2e5eafeeaf46767815a914e36495fb /vcnet | |
parent | 26c14fa6e1b9639d47aca3032337d9fe728ee2dc (diff) | |
download | cups-441de8b2e031703feec2d8e7bacab0e1223e818a.tar.gz |
support Upstart socket activation
Inspired by code here:
https://bugs.launchpad.net/upstart/+bug/1276713
With significant refactoring and bug-fixing.
Notably, Upstart only supports passing a single file descriptor via
UPSTART_FDS, so systems that want to use this support will need to
configure CUPS appropriately in order to use this.
Diffstat (limited to 'vcnet')
-rw-r--r-- | vcnet/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcnet/config.h b/vcnet/config.h index 0f1291cc5..a4b01138c 100644 --- a/vcnet/config.h +++ b/vcnet/config.h @@ -777,7 +777,7 @@ static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); } # endif /* __GNUC__ || __STDC_VERSION__ */ #endif /* !HAVE_ABS && !abs */ -#if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD) +#if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD) || defined(HAVE_UPSTART) # define HAVE_ONDEMAND #else # undef HAVE_ONDEMAND |