Skip to content

TERMUX FIX #144

@ghost

Description

THIS PLUGIN - TERMUX NO WORK ( NOT SYSTEMD )

THIS - TERMUX WORK.

Needed only https://github.com/tmux-plugins/tmux-resurrect

Edit this script.
/data/data/com.termux/files/home/clone/path/scripts/save.sh ( delete func main, paste text end script - save_all )

Edit this script.
/data/data/com.termux/files/home/clone/path/scripts/restore.sh ( in func main - delete string start_spinner "Restoring..." "Tmux restore complete!" and display_message "Tmux restore complete!"

crontab ( save all tmux session background every 10 min )
*/10 * * * * tmux run-shell -b "/data/data/com.termux/files/home/clone/path/scripts/save.sh &"

Restore session.
'/data/data/com.termux/files/usr/bin/tmux new-session -d && tmux run-shell -b "/data/data/com.termux/files/home/clone/path/scripts/restore.sh &"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions