@MarkEWaite Issue has been resolved. Thanks for your support. The problem was in service unit file of jenkins under the parameter Execstart there was --daemon i removed that after saving it and running systemctl daemon-reload and restarting jenkins it is working.