Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/pycriu/criu.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import pycriu.rpc_pb2 as rpc

CR_DEFAULT_SERVICE_ADDRESS = "./criu_service.socket"

class _criu_comm:
"""
Expand Down Expand Up @@ -213,7 +214,7 @@ def __init__(self):
self.opts = rpc.criu_opts()
self.sk = None

def use_sk(self, sk_name):
def use_sk(self, sk_name=CR_DEFAULT_SERVICE_ADDRESS):
"""
Access criu using unix socket which that belongs to criu service daemon.
"""
Expand Down
Loading