some more cosmetic changes
- fix an intend - add TODO: remove pkg - add .before_bott_at to backup of seastatus.tcl
This commit is contained in:
@ -117,7 +117,7 @@ class SeaManager(ServiceManager):
|
||||
seastatus = self.get_status_filename(ins)
|
||||
if seastatus:
|
||||
boot_time = time.strftime("%Y-%m-%dT%H-%M-%S", time.localtime(psutil.boot_time()))
|
||||
dst = seastatus.replace('.tcl', '') + '.' + boot_time
|
||||
dst = seastatus.replace('.tcl', '') + '.before_boot_at' + boot_time
|
||||
if not exists(dst):
|
||||
os.system(f'cp {seastatus} {dst}')
|
||||
return start_dir, env
|
||||
|
Reference in New Issue
Block a user