From 4b34930754d83f2148920eb9a0821b5ca06035a3 Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Tue, 5 Oct 2021 11:43:39 +0200 Subject: [PATCH] Remove jid file These files don't provide much benefit, but keep cluttering POT_TMP. --- CHANGELOG.md | 2 ++ share/pot/start.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 686d8c23..d4bc88b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- start: do not write jid files to POT_TMP (#178) ## [0.13.0] 2021-09-21 ### Added diff --git a/share/pot/start.sh b/share/pot/start.sh index f5e8b777..f96abbd0 100644 --- a/share/pot/start.sh +++ b/share/pot/start.sh @@ -520,7 +520,7 @@ _js_start() _info "Starting the pot $_pname" # shellcheck disable=SC2086 - jail -c -J "${POT_TMP:-/tmp}/${_pname}.jail.conf" $_param exec.start="sh -c 'sleep 5&'" + jail -c $_param exec.start="sh -c 'sleep 5&'" if [ -e "$_confdir/pot.conf" ] && _is_pot_prunable "$_pname" ; then # set-attr cannot be used for read-only attributes