Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 10:24:56 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f4fd84d27e63 - main - www/tinyproxy: Remove pid file using service script
Message-ID:  <202405281024.44SAOu7a033416@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f4fd84d27e6311cc52508e9c01a572d3dea05093

commit f4fd84d27e6311cc52508e9c01a572d3dea05093
Author:     Helge Oldach <freebsd@oldach.net>
AuthorDate: 2024-05-28 10:17:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:55 +0000

    www/tinyproxy: Remove pid file using service script
    
    - Bump PORTREVISION for package change
    
    PR:             253323
---
 www/tinyproxy/Makefile           | 1 +
 www/tinyproxy/files/tinyproxy.in | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index b6f3e761e39e..06e08d10e0cd 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tinyproxy
 PORTVERSION=	1.11.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/tinyproxy/tinyproxy/releases/download/${PORTVERSION}/
diff --git a/www/tinyproxy/files/tinyproxy.in b/www/tinyproxy/files/tinyproxy.in
index 5c1fb3a2f11b..abf827765145 100644
--- a/www/tinyproxy/files/tinyproxy.in
+++ b/www/tinyproxy/files/tinyproxy.in
@@ -13,6 +13,8 @@
 name="tinyproxy"
 rcvar=tinyproxy_enable
 
+stop_postcmd="rm -f \${pidfile}"
+
 load_rc_config $name
 
 # Make sure the pidfile matches what's in the config file.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405281024.44SAOu7a033416>