From c82abea21a0234b012f0407bba6f8b7efc5b0c2c Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Wed, 29 Jul 2026 00:04:18 +0500 Subject: [PATCH] Remove stale pids. --- CHANGELOG.md | 7 +++++++ etc/cont-init.d/90-stale-pids.sh | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 etc/cont-init.d/90-stale-pids.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 379b8fa..a116581 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) but do not follows semantic versioning as it is useless in this type of project. +## [2.7.4-3] - 2026-07-29 + +### Added + +* remove stale pids on container start + ## [2.7.4-2] - 2026-07-26 ### Added @@ -27,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) Initial container release with inn 2.7.4 built with perl/python/sqlite support. +[2.7.4-3]: https://code.pztrn.name/containers/inn2/compare/2.7.4-2...2.7.4-3 [2.7.4-2]: https://code.pztrn.name/containers/inn2/compare/2.7.4-1...2.7.4-2 [2.7.4-1]: https://code.pztrn.name/containers/inn2/compare/2.7.4...2.7.4-1 [2.7.4]: https://code.pztrn.name/containers/inn2/releases/tag/2.7.4 diff --git a/etc/cont-init.d/90-stale-pids.sh b/etc/cont-init.d/90-stale-pids.sh new file mode 100644 index 0000000..408be7f --- /dev/null +++ b/etc/cont-init.d/90-stale-pids.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +rm "/inn2/run/*.pid"