def killYokadid(pidFile): """Kill Yokadi daemon @param pidFile: file where the pid of the daemon is stored """ # reuse Daemon.stop() code daemon = Daemon(pidFile) daemon.stop()