diff options
-rw-r--r-- | CHANGES.md | 1 | ||||
-rw-r--r-- | scheduler/main.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index 3d7271f67..b9c8d81a2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ CHANGES - 2.3.1 - 2019-09-05 Changes in CUPS v2.3.1 ---------------------- +- Added a workaround for the scheduler's systemd support (Issue #5640) - Fixed spelling of "fold-accordion". - Fixed the default common name for TLS certificates used by `ippeveprinter`. diff --git a/scheduler/main.c b/scheduler/main.c index 842b00a42..d5fdf971a 100644 --- a/scheduler/main.c +++ b/scheduler/main.c @@ -757,7 +757,9 @@ main(int argc, /* I - Number of command-line args */ #ifdef HAVE_ONDEMAND if (OnDemand) { +# ifndef HAVE_SYSTEMD /* Issue #5640: systemd doesn't actually support launch-on-demand services, need to fake it */ stop_scheduler = 1; +# endif /* HAVE_SYSTEMD */ break; } #endif /* HAVE_ONDEMAND */ |