Changeset 358


Ignore:
Timestamp:
Feb 5, 2016, 12:50:52 PM (3 years ago)
Author:
mabarracus
Message:

fixed install auditd into systemd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.zmds/lliurex-zero-installer-analytics.zmd

    r354 r358  
    1515    update-rc.d analytics defaults 99
    1616    sed -i.orig -e 's/USE_AUGENRULES="no"/USE_AUGENRULES="yes"/g' /etc/default/auditd
    17     sed 's/#ExecStartPost=-\/sbin\/augenrules --load/ExecStartPost=-\/sbin\/augenrules --load/' /etc/systemd/system/multi-user.target.wants/auditd.service > /etc/systemd/system/auditd.service
     17    sed -i.orig -e 's/#ExecStartPost=-\/sbin\/augenrules --load/ExecStartPost=-\/sbin\/augenrules --load/' /lib/systemd/system/auditd.service
     18    systemctl daemon-reload
     19    systemctl restart auditd
    1820    if [ $? -eq 0 ]; then
    1921        zero-center remove-pulsating-color lliurex-zero-installer-analytics
Note: See TracChangeset for help on using the changeset viewer.