Skip to content
This repository has been archived by the owner on Dec 20, 2020. It is now read-only.

Commit

Permalink
Added patch to make wok pidof friendly
Browse files Browse the repository at this point in the history
The ClearOS running daemon detection is done via 'pidof' as a
last resort.  Made wokd pidof friendly.
  • Loading branch information
pcbaldwin committed Jan 25, 2017
1 parent a355c91 commit fcf691c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions wok-2.3.1-pidof-friendly.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
diff -rup wok-2.3.1/src/wokd.in wok-2.3.1-pidof-friendly/src/wokd.in
--- wok-2.3.1/src/wokd.in 2016-12-15 08:10:19.000000000 -0500
+++ wok-2.3.1-pidof-friendly/src/wokd.in 2017-01-25 14:19:51.736939287 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/python2
#
# Project Wok
#
4 changes: 3 additions & 1 deletion wok.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ BuildArch: noarch
Group: System Environment/Base
License: LGPL/ASL2
Source0: %{name}-%{version}.tar.gz
Patch1: wok-2.3.1-pidof-friendly.patch
Requires: gettext
Requires: python-cherrypy >= 3.2.0
Requires: python-cheetah
Expand Down Expand Up @@ -52,7 +53,8 @@ Wok is Webserver Originated from Kimchi.


%prep
%setup
%setup -q
%patch1 -p1 -b .pidof


%build
Expand Down

0 comments on commit fcf691c

Please sign in to comment.