• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk Windows command services_plan - log-rotate not working

nethubonline

Regular Pleskian
Hi all,

I tried to use "service_plan" command to create or update to enable log rotate , but it seems not working and I need to enable it for my service plan via Plesk web panel. Is my command wrong or something else? Thanks a lot.

plesk bin service_plan -c "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
plesk bin service_plan -u "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
 
Back
Top