[CRIU] [PATCH 3/5] service: Rename

Pavel Emelyanov xemul at parallels.com
Thu Oct 22 07:14:12 PDT 2015


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 p.haul-service                          | 5 ++---
 phaul/{p_haul_service.py => service.py} | 0
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename phaul/{p_haul_service.py => service.py} (100%)

diff --git a/p.haul-service b/p.haul-service
index 382ddca..451311c 100755
--- a/p.haul-service
+++ b/p.haul-service
@@ -5,7 +5,7 @@ import signal
 import argparse
 import logging
 import phaul.xem_rpc
-import phaul.p_haul_service
+import phaul.service
 import phaul.connection
 
 parser = argparse.ArgumentParser("Process HAULer service server")
@@ -35,8 +35,7 @@ logging.info("Starting p.haul service")
 # Establish connection
 connection = phaul.connection.establish(args.fdrpc, args.fdmem, args.fdfs)
 
-t = phaul.xem_rpc.rpc_threaded_srv(phaul.p_haul_service.phaul_service,
-	connection)
+t = phaul.xem_rpc.rpc_threaded_srv(phaul.service.phaul_service, connection)
 
 # FIXME: Setup stop handlers
 stop_fd = t.init_stop_fd()
diff --git a/phaul/p_haul_service.py b/phaul/service.py
similarity index 100%
rename from phaul/p_haul_service.py
rename to phaul/service.py
-- 
1.9.3




More information about the CRIU mailing list