/usr/sbin/fusionforge-config is in gforge-common 5.1.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #! /bin/sh
#
# Parse all template files and expand them into real files
# Roland Mas, debian-sf (Sourceforge for Debian)
#
# For apache2 we have to remove the Listen 80 directive
# This is to test if apache2 is started and listen on port 80
#
# -dovhost will create vhosts
[ -f /etc/default/apache2 ] && . /etc/default/apache2
if [ "x$NO_START" = "x0" ]
then
/usr/share/gforge/bin/setup -fhs -noapache $@ -system pgsql -nolisten80
else
/usr/share/gforge/bin/setup -fhs -noapache $@ -system pgsql -listen80
fi
[ -f /etc/gforge/local.inc ] && chmod 644 /etc/gforge/local.inc
[ -f /etc/gforge/httpd.conf ] && chmod 644 /etc/gforge/httpd.conf
[ -f /etc/gforge/database.inc ] && chown gforge:gforge /etc/gforge/database.inc
[ -f /etc/gforge/database.inc ] && chmod 640 /etc/gforge/database.inc
if getent group list > /dev/null
then
[ -f /etc/gforge/database.py ] && chgrp list /etc/gforge/database.py
fi
[ -f /etc/gforge/database.py ] && chmod 640 /etc/gforge/database.py
[ -f /etc/gforge/local.pl ] && chmod go+rx /etc/gforge
[ -f /etc/gforge/local.pl ] && chown gforge:gforge /etc/gforge/local.pl
[ -f /etc/gforge/local.pl ] && chmod 640 /etc/gforge/local.pl
[ -f /etc/gforge/templates/httpd.conf.template ] && rm -f /etc/gforge/templates/*.template || true
|