def status(json): daemon = Daemon('PKNS Server', pidfile=os.path.abspath( os.environ['HOME']+"/.pkns/PKNS.pid")) daemon.status(json=json)