summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/i2pd')
-rw-r--r--net-vpn/i2pd/files/i2pd-2.38.0-r1.logrotate (renamed from net-vpn/i2pd/files/i2pd-2.6.0-r3.logrotate)4
-rw-r--r--net-vpn/i2pd/i2pd-2.38.0-r1.ebuild (renamed from net-vpn/i2pd/i2pd-2.38.0.ebuild)2
2 files changed, 4 insertions, 2 deletions
diff --git a/net-vpn/i2pd/files/i2pd-2.6.0-r3.logrotate b/net-vpn/i2pd/files/i2pd-2.38.0-r1.logrotate
index 251128b7be78..9245bca8c48e 100644
--- a/net-vpn/i2pd/files/i2pd-2.6.0-r3.logrotate
+++ b/net-vpn/i2pd/files/i2pd-2.38.0-r1.logrotate
@@ -5,7 +5,9 @@
notifempty
create 640 i2pd i2pd
postrotate
- /bin/kill -HUP $(cat /run/i2pd/i2pd.pid)
+ if [ -f /run/i2pd/i2pd.pid ]; then
+ /bin/kill -HUP $(/bin/cat /run/i2pd/i2pd.pid)
+ fi
endscript
}
diff --git a/net-vpn/i2pd/i2pd-2.38.0.ebuild b/net-vpn/i2pd/i2pd-2.38.0-r1.ebuild
index 847dab8ce292..b77a5dab495a 100644
--- a/net-vpn/i2pd/i2pd-2.38.0.ebuild
+++ b/net-vpn/i2pd/i2pd-2.38.0-r1.ebuild
@@ -79,7 +79,7 @@ src_install() {
# logrotate
insinto /etc/logrotate.d
- newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
+ newins "${FILESDIR}/i2pd-2.38.0-r1.logrotate" i2pd
}
pkg_postinst() {