summaryrefslogtreecommitdiff
path: root/vcnet
diff options
context:
space:
mode:
authorBrian Norris <briannorris@google.com>2016-05-27 13:07:05 -0700
committerBrian Norris <briannorris@google.com>2016-05-27 13:07:05 -0700
commit441de8b2e031703feec2d8e7bacab0e1223e818a (patch)
treef872afcaad2e5eafeeaf46767815a914e36495fb /vcnet
parent26c14fa6e1b9639d47aca3032337d9fe728ee2dc (diff)
downloadcups-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.h2
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