pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gitea: Remove pidfile references



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Thu Feb 14 09:07:17 2019 +0000
Changeset:	a4cd302e9d6adb8f271414ed80b9e15b927368d2

Modified Files:
	gitea/files/gitea.sh

Log Message:
gitea: Remove pidfile references

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a4cd302e9d6adb8f271414ed80b9e15b927368d2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gitea/files/gitea.sh | 8 --------
 1 file changed, 8 deletions(-)

diffs:
diff --git a/gitea/files/gitea.sh b/gitea/files/gitea.sh
index d1ad077638..94ba67d531 100644
--- a/gitea/files/gitea.sh
+++ b/gitea/files/gitea.sh
@@ -10,7 +10,6 @@
 name="gitea"
 rcvar=${name}
 required_files="@PKG_SYSCONFDIR@/conf/app.ini"
-pidfile="/dev/null"
 command="@PREFIX@/sbin/gitea"
 command_args="--config @PKG_SYSCONFDIR@/app.ini web &"
 
@@ -22,12 +21,5 @@ gitea_env="${gitea_env} USER=@GITEA_USER@"
 gitea_user="@GITEA_USER@"
 gitea_group="@GITEA_GROUP@"
 
-# gitea's pidfile creation seems to not work...
-check_pidfile()
-{
-	pid=$(pgrep -U "${gitea_user}" /sbin/gitea$)
-	echo -n "${pid}"
-}
-
 load_rc_config $name
 run_rc_command "$1"


Home | Main Index | Thread Index | Old Index