8000 Update persiststorage.py · coder/deploy-code-server@d2468da · GitHub
[go: up one dir, main page]

Skip to content

Commit d2468da

Browse files
Update persiststorage.py
1 parent bfe776e commit d2468da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy-container/persiststorage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ def print(log):
1717
os.system(f'echo {data} | base64 -d > /.config/rclone/rclone.conf')
1818
print('config File Created')
1919
#Download
20-
os.system(f'rclone sync {remote}:{app_name} /app/WORKSPACE')
20+
os.system(f'rclone sync {remote}:{app_name} /home/coder/project')
2121
print('files Synced')
2222
os.system('pip install -r /app/WORKSPACE/.pip')
2323
print('Installed Python Packages in .pip File')
2424
#upload Every 1 min
2525
while True:
26-
os.system(f'rclone sync /app/WORKSPACE {remote}:{app_name}')
26+
os.system(f'rclone sync /home/coder/project {remote}:{app_name}')
2727
print('Files Uploaded')
2828
time.sleep(60)

0 commit comments

Comments
 (0)
0