Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:admin:autoupgrade-cron [2018/09/18 14:31]
Lisa Clarke Proofreading
litespeed_wiki:admin:autoupgrade-cron [2023/04/14 19:29] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== Upgrade LSWS Automatically via Cron Job ====== +~~REDIRECT>https://docs.litespeedtech.com/​lsws/​updates/#automate-updates-via-cron-job~~
-When a new version of LiteSpeed Web Server is released, it will be pushed to auto-update after one or two weeks. Then, the new version will appear in the version manager, and you can decide whether to upgrade or not. +
- +
-If you would like to automatically upgrade to a new version as soon as it is available in auto-update,​ it is a two-step process: +
- +
-  - Run a script to check for the latest version <code>http://update.litespeedtech.com/​ws/​latest.php</​code>​ +
-  - Run the ''​lsup.sh''​ to upgrade <​code>/​usr/​local/lsws/admin/misc/​lsup.sh ​--v <latest-version></​code>​ +
- +
-Add the two lines above to a daily cron job and it will run automatically. ​+
  • Admin
  • Last modified: 2023/04/14 19:29
  • by Lisa Clarke