- Cleanup init script - Add a sysconfig file - Relocate pidfile to /var/run/ajaxterm/ajaxterm.pid - Add a README.Fedora - Add an example config for Apache
50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
From 41ea31a4b52add3023b9126b1d6278a3c23d2b22 Mon Sep 17 00:00:00 2001
|
|
From: Ruben <ruben@rubenkerkhof.com>
|
|
Date: Sun, 17 Oct 2010 17:14:30 +0200
|
|
Subject: [PATCH 02/14] 02_initd.diff from Debian
|
|
|
|
---
|
|
configure | 8 --------
|
|
configure.makefile | 2 --
|
|
2 files changed, 0 insertions(+), 10 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 45391f4..fbaff03 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -21,12 +21,4 @@ man=os.path.join(o.prefix,"share/man/man1")
|
|
file("ajaxterm.bin","w").write(file("configure.ajaxterm.bin").read()%locals())
|
|
file("Makefile","w").write(file("configure.makefile").read()%locals())
|
|
|
|
-if os.path.isfile("/etc/gentoo-release"):
|
|
- file("ajaxterm.initd","w").write(file("configure.initd.gentoo").read()%locals())
|
|
-elif os.path.isfile("/etc/fedora-release") or os.path.isfile("/etc/redhat-release"):
|
|
- file("ajaxterm.initd","w").write(file("configure.initd.redhat").read()%locals())
|
|
-else:
|
|
- file("ajaxterm.initd","w").write(file("configure.initd.debian").read()%locals())
|
|
-
|
|
os.system("chmod a+x ajaxterm.bin")
|
|
-os.system("chmod a+x ajaxterm.initd")
|
|
diff --git a/configure.makefile b/configure.makefile
|
|
index 6bd8085..b3c678f 100644
|
|
--- a/configure.makefile
|
|
+++ b/configure.makefile
|
|
@@ -5,7 +5,6 @@ install:
|
|
install -d "%(bin)s"
|
|
install -d "%(lib)s"
|
|
install ajaxterm.bin "%(bin)s/ajaxterm"
|
|
- install ajaxterm.initd "%(etc)s/init.d/ajaxterm"
|
|
install -m 644 ajaxterm.css ajaxterm.html ajaxterm.js qweb.py sarissa.js sarissa_dhtml.js "%(lib)s"
|
|
install -m 755 ajaxterm.py "%(lib)s"
|
|
gzip --best -c ajaxterm.1 > ajaxterm.1.gz
|
|
@@ -14,7 +13,6 @@ install:
|
|
|
|
clean:
|
|
rm ajaxterm.bin
|
|
- rm ajaxterm.initd
|
|
rm ajaxterm.1.gz
|
|
rm Makefile
|
|
|
|
--
|
|
1.7.3.1
|
|
|