# Workaround for https://github.com/redhat-imaging/imagefactory/issues/417
[Unit]
Requires=libvirtd.service
After=libvirtd.service

[Service]
Type=forking
ExecStart=/usr/bin/imagefactoryd 
ExecStop=/usr/bin/killall imagefactoryd
PIDFile=/var/run/imagefactoryd.pid

[Install]
WantedBy=multi-user.target
