[freeside-commits] branch FREESIDE_3_BRANCH updated. 2d94edc3c657ce5ba1e8093b54299f120914f368
Ivan Kohler
ivan at freeside.biz
Wed Jan 24 09:08:48 PST 2018
The branch, FREESIDE_3_BRANCH has been updated
via 2d94edc3c657ce5ba1e8093b54299f120914f368 (commit)
from d6bcda25c86d0dea042e293a9bf2085e65c28fd3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2d94edc3c657ce5ba1e8093b54299f120914f368
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jan 24 09:08:47 2018 -0800
fix postinst?
diff --git a/debian/freeside-webui.postinst b/debian/freeside-webui.postinst
new file mode 100644
index 000000000..8dd2baaf5
--- /dev/null
+++ b/debian/freeside-webui.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+chown -R freeside /usr/local/etc/freeside
+rm -fr /usr/local/etc/freeside/masondata/*
+
+#XXX systemd equivalent (start apache after postgres)
+/sbin/insserv -d
+
+exit 0
+
diff --git a/debian/freeside.postinst b/debian/freeside.postinst
new file mode 100644
index 000000000..bdbb7a8d6
--- /dev/null
+++ b/debian/freeside.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#probably not needed with systemd
+/usr/sbin/update-rc.d freeside defaults 23 01
+
+exit 0
+
-----------------------------------------------------------------------
Summary of changes:
debian/{postinst => freeside-webui.postinst} | 5 +++--
debian/freeside.postinst | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
copy debian/{postinst => freeside-webui.postinst} (69%)
create mode 100644 debian/freeside.postinst
More information about the freeside-commits
mailing list