Skip to content

Commit

Permalink
Merge pull request #21 from camlafit/issue_18_clean_autostart
Browse files Browse the repository at this point in the history
Enable autostart
  • Loading branch information
simonwalz authored Aug 31, 2024
2 parents 3043c1e + 3d7e4d8 commit 4abe06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ screen -c .screenrc_{SESSIONNAME}

## Automatically start sessions at system start

To start the saved screen sessions at system start, start crontab via:
To start the saved screen sessions at system start, start an user crontab via:

```sh
crontab -e
Expand All @@ -94,6 +94,7 @@ and add the script `screen-auto-start`:
```

The script `screen-auto-start` is part of this repository.
Note : You need to enable a crontab to each user. Script works only to a specific user context.

## Automatically save all my session

Expand Down
2 changes: 1 addition & 1 deletion screen-auto-start
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ fi

for file in "${SAVE_DIR}"*
do
echo /usr/bin/env screen -d -m -c "$file"
/usr/bin/env screen -d -m -c "$file"
done

0 comments on commit 4abe06d

Please sign in to comment.