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

Commit fcf691c

Browse files
committed
Added patch to make wok pidof friendly
The ClearOS running daemon detection is done via 'pidof' as a last resort. Made wokd pidof friendly.
1 parent a355c91 commit fcf691c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

wok-2.3.1-pidof-friendly.patch

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
diff -rup wok-2.3.1/src/wokd.in wok-2.3.1-pidof-friendly/src/wokd.in
2+
--- wok-2.3.1/src/wokd.in 2016-12-15 08:10:19.000000000 -0500
3+
+++ wok-2.3.1-pidof-friendly/src/wokd.in 2017-01-25 14:19:51.736939287 -0500
4+
@@ -1,4 +1,4 @@
5+
-#!/usr/bin/env python2
6+
+#!/usr/bin/python2
7+
#
8+
# Project Wok
9+
#

wok.spec

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ BuildArch: noarch
77
Group: System Environment/Base
88
License: LGPL/ASL2
99
Source0: %{name}-%{version}.tar.gz
10+
Patch1: wok-2.3.1-pidof-friendly.patch
1011
Requires: gettext
1112
Requires: python-cherrypy >= 3.2.0
1213
Requires: python-cheetah
@@ -52,7 +53,8 @@ Wok is Webserver Originated from Kimchi.
5253

5354

5455
%prep
55-
%setup
56+
%setup -q
57+
%patch1 -p1 -b .pidof
5658

5759

5860
%build

0 commit comments

Comments
 (0)