[freeside-commits] branch FREESIDE_4_BRANCH updated. eae8b9339f725d7780c306346e85f84dd2dad87d

Ivan Kohler ivan at freeside.biz
Wed Jan 24 09:08:45 PST 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  eae8b9339f725d7780c306346e85f84dd2dad87d (commit)
      from  07d0dd4182a5fe71abea53f79e8f5699f8caaea8 (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 eae8b9339f725d7780c306346e85f84dd2dad87d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 24 09:08:44 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