minazuki-overlay/www-apps/ntfy/files/0001-Patch-service-files.patch
Shin'ya Minazuki 6732cfb358 Add www-apps/ntfy
Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
2026-07-17 20:43:32 -03:00

32 lines
842 B
Diff

From 4d9fc2c17b7f8e7971bec4664974f2d8b81fa257 Mon Sep 17 00:00:00 2001
From: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
Date: Fri, 17 Jul 2026 17:59:00 -0400
Subject: [PATCH] Patch service files
---
server/ntfy.openrc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/ntfy.openrc b/server/ntfy.openrc
index d928f28e..2e35237a 100644
--- a/server/ntfy.openrc
+++ b/server/ntfy.openrc
@@ -8,13 +8,13 @@
name=$RC_SVCNAME
description="ntfy server"
-command="/usr/local/bin/ntfy"
+command="/usr/bin/ntfy"
command_background=true
command_args="serve"
command_user="ntfy:ntfy"
extra_started_commands="reload"
-pidfile="/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"
+pidfile="/run/${RC_SVCNAME}.pid"
# Changes the hard number of open files (nofile) limit to 2048 for the service.
rc_ulimit="-n 2048"
--
2.54.0