misc: daemon mode refactoring:
- there is no more daemon mode disctinction between local and installed version
- sat is launched as daemon by default, use "sat fg" to launch it foreground
This commit is contained in:
parent
917bbe24b3
commit
218a4122e6
1 changed files with 6 additions and 6 deletions
4
setup.py
4
setup.py
|
|
@ -65,9 +65,7 @@ class CustomInstall(install):
|
|||
run_dir = os.path.dirname(self.sh_script_path)
|
||||
with open(self.sh_script_path, 'r') as sh_file:
|
||||
for ori_line in sh_file:
|
||||
if ori_line.startswith('DAEMON='):
|
||||
dest_line = 'DAEMON=""\n' # we want to launch sat as a daemon
|
||||
elif ori_line.startswith('TAP_PATH='):
|
||||
if ori_line.startswith('TAP_PATH='):
|
||||
dest_line = 'TAP_PATH="%s/"\n' % run_dir
|
||||
elif ori_line.startswith('PYTHON='):
|
||||
dest_line = 'PYTHON="%s"\n' % sys.executable
|
||||
|
|
|
|||
Loading…
Reference in a new issue