Ticket #2268 (assigned task)

Opened 5 months ago

Last modified 5 days ago

Remove *.prev files

Reported by: kilburn Owned by: nuxwin
Priority: normal Milestone: ispCP ω 1.0.6
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

Changed 5 months 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?).

Changed 5 months ago by kilburn

  • status changed from new to assigned

Changed 5 months ago by kilburn

  • description modified (diff)

Changed 5 months 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 ;

Changed 5 months ago by nuxwin

Edit:

Don't forget to add

Example:

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

In root makefile of the dist.

Changed 4 months ago by benedikt

Status on this?

Changed 3 months ago by benedikt

  • owner kilburn deleted
  • status changed from assigned to new

Changed 5 days ago by nuxwin

  • owner set to nuxwin
  • status changed from new to assigned
  • type changed from enhancement to task
Note: See TracTickets for help on using tickets.