From 4dbba6398ae8adb82222d10733ae3545a588becf Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Thu, 3 Oct 2019 14:16:43 +0200 Subject: [PATCH] fix worker service template It is not properly named so it does not work for starting multiple instances. This should fix it. --- distribution/Makefile | 8 ++++---- .../{osbuild-worker.service => osbuild-worker@.service} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename distribution/{osbuild-worker.service => osbuild-worker@.service} (100%) diff --git a/distribution/Makefile b/distribution/Makefile index 84fa3df20..a5c558efa 100644 --- a/distribution/Makefile +++ b/distribution/Makefile @@ -5,18 +5,18 @@ sd-install: sd-start: systemctl start osbuild-composer.socket - systemctl start osbuild-worker.service + systemctl start osbuild-worker@1.service sd-enable: systemctl enable osbuild-composer.socket - systemctl enable osbuild-worker.service + systemctl enable osbuild-worker@1.service sd-stop: systemctl disable osbuild-composer.socket systemctl stop osbuild-composer.socket systemctl stop osbuild-composer.service - systemctl disable osbuild-worker.service - systemctl stop osbuild-worker.service + systemctl disable osbuild-worker@1.service + systemctl stop osbuild-worker@1.service user-install: - mkdir -p /etc/sysusers.d/ diff --git a/distribution/osbuild-worker.service b/distribution/osbuild-worker@.service similarity index 100% rename from distribution/osbuild-worker.service rename to distribution/osbuild-worker@.service