Applicable to:
- Plesk for Linux
Question
How to manage auto-update settings via CLI?
Answer
-
Connect to the server using SSH.
-
Execute the following commands to enable corresponding settings:
-
Automatically install Plesk updates (Recommended)
# plesk bin server_pref -u -autoupdates true
-
Automatically install updates for third-party components shipped by Plesk
# plesk bin server_pref -u -autoupdates-third-party true
-
Automatically install system package updates
# plesk db "UPDATE misc SET val='true' WHERE param='automaticSystemPackageUpdates';"
-
Enable safe updates for system packages
# plesk db "UPDATE misc SET val='true' WHERE param='systemPackageUpdatesSafeOnly';"
-
Comments
0 comments
Please sign in to leave a comment.