local instancename=$1
if start-stop-daemon --pidfile "/var/run/koha/${instancename}/plack.pid" \
--user="$instancename-koha.$instancename-koha" \
--status ; then
return 0
else
if start-stop-daemon --pidfile "/var/run/koha/${instancename}/z3950-responder.pid" \
-