summaryrefslogtreecommitdiff
path: root/cpp/src/IceBox/ServiceManagerI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-10-29 18:30:50 +0100
committerJose <jose@zeroc.com>2018-10-29 18:30:50 +0100
commit5ce35f80fb561b58372fdf46ad52c2fd2949a630 (patch)
tree8da6db0bfc4a2a587e1266589a08259869856a9c /cpp/src/IceBox/ServiceManagerI.cpp
parentFix for PHP 5.3 (Amzn 2018.03) build failures (diff)
downloadice-5ce35f80fb561b58372fdf46ad52c2fd2949a630.tar.bz2
ice-5ce35f80fb561b58372fdf46ad52c2fd2949a630.tar.xz
ice-5ce35f80fb561b58372fdf46ad52c2fd2949a630.zip
Add support for systemd Type=notify to Ice::Service
Close #75
Diffstat (limited to 'cpp/src/IceBox/ServiceManagerI.cpp')
-rw-r--r--cpp/src/IceBox/ServiceManagerI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/IceBox/ServiceManagerI.cpp b/cpp/src/IceBox/ServiceManagerI.cpp
index d0c82984777..1bfdb899f5d 100644
--- a/cpp/src/IceBox/ServiceManagerI.cpp
+++ b/cpp/src/IceBox/ServiceManagerI.cpp
@@ -622,6 +622,7 @@ IceBox::ServiceManagerI::start(const string& service, const string& entryPoint,
if(initData.properties->getProperty("Ice.LogFile").empty()
#ifndef _WIN32
&& initData.properties->getPropertyAsInt("Ice.UseSyslog") <= 0
+ && initData.properties->getPropertyAsInt("Ice.UseSystemdJournal") <= 0
#endif
)
{