<s> import os <EOL> import signal <EOL> import sys <EOL> from neutron . common import utils <EOL> def main ( ) : <EOL> """<STR_LIT>""" <EOL> operation = sys . argv [ <NUM_LIT:1> ] <EOL> prefix_fname = sys . argv [ <NUM_LIT:2> ] <EOL> agent_pid = sys . argv [ <NUM_LIT:3> ] <EOL> prefix = os . getenv ( '<STR_LIT>' , "<STR_LIT>" ) <EOL> if operation == "<STR_LIT>" or operation == "<STR_LIT>" : <EOL> utils . replace_file ( prefix_fname , "<STR_LIT>" % prefix ) <EOL> elif operation == "<STR_LIT>" : <EOL> utils . replace_file ( prefix_fname , "<STR_LIT>" ) <EOL> os . kill ( int ( agent_pid ) , signal . SIGUSR1 ) </s>
