This repository has been archived by the owner on May 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed to two interfaces scow-sync-start and scow-sync-query
- Loading branch information
1 parent
47f78e1
commit 7b1091d
Showing
6 changed files
with
65 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
#!/bin/bash | ||
# install scow-sync globally by add soft link in /usr/local/bin | ||
# usage: sudo bash install.sh | ||
pip3 install psutil==5.9.4 | ||
pip3 install paramiko==3.0.0 | ||
local_path=$(pwd) | ||
chmod +x $local_path/scow-sync | ||
chmod +x $local_path/scow-sync-start | ||
chmod +X $local_path/scow-sync-query | ||
ln -s $local_path/scow-sync-start /usr/bin/scow-sync-start | ||
ln -s $local_path/scow-sync-query /usr/bin/scow-sync-query | ||
ln -s $local_path/scow-sync /usr/bin/scow-sync | ||
chmod +x /usr/bin/scow-sync | ||
chmod +x /usr/bin/scow-sync-start | ||
chmod +x /usr/bin/scow-sync-query | ||
mkdir /tmp | ||
mkdir /tmp/scow-sync | ||
chmod 777 /tmp/scow-sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/python3 | ||
''' | ||
Code entry to run the scow-sync | ||
''' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters