Jump to content

Miro-Sk

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Miro-Sk got a reaction from Manuel Martinez in Logrotate service configuration (/etc/systemd/system/logrotate.service)   
    Hello, 
    I registered that after upgrading to Armbian 21.05.1 the behaviour of /usr/sbin/logrotate /etc/logrotate.conf was changed.
    Currently, step "3) ExecStart = /usr/sbin/logrotate /etc/logrotate.conf" is performed in the /var/log.hdd/ directory (in the previous version this step was performed in the /var/log directory).
     
    So after the upgrade, I changed:
    1) in /etc/logrotate.d/rsyslog:
    /var/log.hdd/syslog -> /var/log/syslog
    2) in the /etc/systemd/system/logrotate.service [Service] section as follows:
    [Service]
    Type = oneshot
    ExecStart = / usr / sbin / logrotate /etc/logrotate.conf
    ExecStartPost = / usr / lib / armbian / armbian-ramlog write
     
    After these changes logrotate works according to my expectations again.
  2. Like
    Miro-Sk got a reaction from lanefu in Logrotate service configuration (/etc/systemd/system/logrotate.service)   
    Hello, 
    I registered that after upgrading to Armbian 21.05.1 the behaviour of /usr/sbin/logrotate /etc/logrotate.conf was changed.
    Currently, step "3) ExecStart = /usr/sbin/logrotate /etc/logrotate.conf" is performed in the /var/log.hdd/ directory (in the previous version this step was performed in the /var/log directory).
     
    So after the upgrade, I changed:
    1) in /etc/logrotate.d/rsyslog:
    /var/log.hdd/syslog -> /var/log/syslog
    2) in the /etc/systemd/system/logrotate.service [Service] section as follows:
    [Service]
    Type = oneshot
    ExecStart = / usr / sbin / logrotate /etc/logrotate.conf
    ExecStartPost = / usr / lib / armbian / armbian-ramlog write
     
    After these changes logrotate works according to my expectations again.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines