/usr/bin/pyro-nsd is in pyro 1:3.14-1.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/usr/bin/python
#############################################################################
#
# $Id: pyro-nsd,v 1.2.2.2 2008/05/05 00:13:03 irmen Exp $
# Pyro Name Server Unix Daemon
# Author: Jeff Bauer (jbauer@rubic.com)
# This software is released under the MIT software license.
#
# This is part of "Pyro" - Python Remote Objects
# which is (c) Irmen de Jong - irmen@razorvine.net
#
#############################################################################
import os, sys
import Pyro.naming
from Pyro.ext.daemonizer import Daemonizer
class NSD(Daemonizer):
def __init__(self):
Daemonizer.__init__(self)
def main_loop(self):
Pyro.naming.main(sys.argv[1:])
if __name__ == "__main__":
NSD().process_command_line(sys.argv)
|