From 8e538617da034372de454b5ddaaf916073a5644c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 11 Jul 2017 21:49:49 +0200 Subject: [PATCH] Make systemd manage the process for imagefactoryd This also makes logging to to the journal. Signed-off-by: Patrick Uiterwijk --- conf/imagefactoryd.service | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conf/imagefactoryd.service b/conf/imagefactoryd.service index 83d328a6..516b7350 100644 --- a/conf/imagefactoryd.service +++ b/conf/imagefactoryd.service @@ -3,8 +3,5 @@ Requires=libvirtd.service After=libvirtd.service [Service] -Type=forking -ExecStart=/usr/bin/imagefactoryd -ExecStop=killall imagefactoryd -PIDFile=/var/run/imagefactoryd.pid -LOCKFile=/var/lock/subsys/imagefactoryd +Type=simple +ExecStart=/usr/bin/imagefactoryd --foreground