mirror of
https://github.com/Sevichecc/pleroma-backup-script.git
synced 2025-04-30 00:39:30 +08:00
Fix unexpect EOF
This commit is contained in:
parent
0b89fc9c5c
commit
2722e40496
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,6 @@
|
|||
- Use [duplicacy](https://duplicacy.com/) to upload to remote storage
|
||||
- `expect` to deal with user input
|
||||
- Keep a revision every 7 days for revisions older than 30 days
|
||||
- Backup remindet bot
|
||||
- Backup reminder bot
|
||||
|
||||
Detail(in Chinese): [用 duplicacy 备份 Pleroma](https://seviche.cc/2023-01-22-backup/)
|
||||
|
|
|
@ -25,4 +25,4 @@ mastodon = Mastodon(
|
|||
feature_set = 'pleroma'
|
||||
)
|
||||
|
||||
mastodon.status_post('your_post_content')
|
||||
mastodon.status_post('your_post_content')
|
|
@ -28,6 +28,4 @@ send "$PASSWORD\r"
|
|||
# expect "password"
|
||||
# send "$PASSWORD\r"
|
||||
|
||||
expect eof
|
||||
|
||||
EOF
|
||||
expect eof
|
Loading…
Reference in a new issue