From 841ed8f7e0c5c4f9aef4bc8490b80fb9c391addc Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Fri, 27 Apr 2018 21:38:43 +0200 Subject: [PATCH] Add systemd drop-in file for CentOS 7 The existing service file is for Fedora27 and it does not work on CentOS 7 since pip installs nodepool in /usr/bin on CentOS 7. This change adds the systemd drop-in file for this distro so ExecStart command is overriden by systemd based on where nodepool is installed. This change is needed in order to have complete installation instructions for Centos7 in zuul-from-scratch document. Change-Id: Id6a6303d4785b64d9d259b9d553dea6d07eeeedb Signed-off-by: Fatih Degirmenci --- etc/nodepool-launcher.service.d/centos.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/nodepool-launcher.service.d/centos.conf diff --git a/etc/nodepool-launcher.service.d/centos.conf b/etc/nodepool-launcher.service.d/centos.conf new file mode 100644 index 000000000..5b4d3073b --- /dev/null +++ b/etc/nodepool-launcher.service.d/centos.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/usr/bin/nodepool-launcher