diff options
Diffstat (limited to 'push_script.sh')
-rwxr-xr-x | push_script.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/push_script.sh b/push_script.sh new file mode 100755 index 0000000..f941d07 --- /dev/null +++ b/push_script.sh @@ -0,0 +1,4 @@ +#!/bin/bash +echo "put post_bot.py /root/scripts/python" | sftp root@bpcspace.com +ssh root@bpcspace.com "chmod 755 /root/scripts/python/post_bot.py; systemctl reload recolor_bot; systemctl restart recolor_bot; systemctl status recolor_bot" + |