Ticket #2268 (closed task: fixed)

Opened 2 years ago

Last modified 18 months ago

Remove *.prev files

Reported by: kilburn Owned by: benedikt
Priority: normal Milestone: ispCP ω 1.0.7
Component: Config Files Version: ispCP ω 1.0.4
Severity: Don't know Keywords: traffic
Cc:

Description (last modified by kilburn) (diff)

The changes in traffic accounting introduced in r2551 removed the need for *.log.prev files. Therefore, we should remove the leftover files as well as logrotate configurations that refer to them.

Change History

comment:1 Changed 2 years ago by kilburn

I'm open to suggestions on how to delete these files (is there any hook in the setup/update script where it would be appropiate to insert this nuxwin?).

comment:2 Changed 2 years ago by kilburn

  • Status changed from new to assigned

comment:3 Changed 2 years ago by kilburn

  • Description modified (diff)

comment:4 Changed 2 years ago by nuxwin

Sure

Currently we have two hooks that allow to execute externals preinst and postinst scripts. You can create specific preinst or postinst script in 'sh', 'perl' or 'php' language to process specific dist task. Currently, the file should be inserted into docs/DIST. Look opensuse postinst example.

Cheers ;

comment:5 Changed 2 years ago by nuxwin

Edit:

Don't forget to add

Example:

cp ./docs/OpenSuse/postinst $(SYSTEM_ROOT)/engine/setup

In root makefile of the dist.

comment:6 Changed 22 months ago by benedikt

Status on this?

comment:7 Changed 21 months ago by benedikt

  • Owner kilburn deleted
  • Status changed from assigned to new

comment:8 Changed 19 months ago by nuxwin

  • Owner set to nuxwin
  • Status changed from new to assigned
  • Type changed from enhancement to task

comment:9 Changed 18 months ago by benedikt

  • Owner changed from nuxwin to benedikt
  • Status changed from assigned to new

comment:10 Changed 18 months ago by benedikt

  • Status changed from new to assigned

comment:11 Changed 18 months ago by benedikt

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed in r3195

Note: See TracTickets for help on using tickets.