commit acf68b1568162bb945f4b7d1a6758c08c6850db4
parent d4dba07d4472442285f5c872898d61dff141cf47
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Mon, 27 Apr 2015 21:45:02 -0600
pc_html: a new name!
Diffstat:
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Makefile b/Makefile
@@ -6,7 +6,7 @@ PERL_LIBDATA =	$(USR)/libdata/perl5/site_perl
 HTDOCS =	$(VAR)/www/htdocs
 
 DEV_BIN =	/home/kyle/src/pricechart
-BINS =		pc_html pc_fcgi price_scraper product_scraper
+BINS =		pc_html ps_fcgi price_scraper product_scraper
 # WARNING stupid idiom used below if adding > 1 item to LIBS!!
 LIBS =		PriceChart.pm
 HTML =		tt logo pricechart.css
@@ -15,9 +15,9 @@ install:
 	cp $(BINS) $(USR_BIN)/
 	cp $(LIBS) $(PERL_LIBDATA)/
 
-	sed -e "s@$(DEV_BIN)@$(USR_BIN)@" < openbsd_rc.d_pc_fcgi \
-		> /etc/rc.d/pc_fcgi
-	chmod 555 /etc/rc.d/pc_fcgi
+	sed -e "s@$(DEV_BIN)@$(USR_BIN)@" < openbsd_rc.d_ps_fcgi \
+		> /etc/rc.d/ps_fcgi
+	chmod 555 /etc/rc.d/ps_fcgi
 	cp pricechart.cfg /etc/
 
 	mkdir -p $(HTDOCS)/pricechart
@@ -26,6 +26,6 @@ install:
 	chown -R www:daemon $(HTDOCS)/pricechart
 
 uninstall:
-	# rm /etc/rc.d/pc_fcgi
+	# rm /etc/rc.d/ps_fcgi
 	rm $(PERL_LIBDATA)/$(LIBS)
 	# rm $(USR_BIN)/$(BINS)
diff --git a/openbsd_rc.d_pc_fcgi b/openbsd_rc.d_pc_fcgi
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-daemon="perl /home/kyle/src/pricechart/pc_fcgi"
-
-. /etc/rc.d/rc.subr
-
-pexp="perl: ps_fcgi sloth"
-
-rc_cmd $1
diff --git a/openbsd_rc.d_ps_fcgi b/openbsd_rc.d_ps_fcgi
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+daemon="perl /home/kyle/src/pricechart/ps_fcgi"
+
+. /etc/rc.d/rc.subr
+
+pexp="perl: ps_fcgi sloth"
+
+rc_cmd $1
diff --git a/pc_fcgi b/ps_fcgi