aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
Commit message (Collapse)AuthorAgeLines
* Fix d/sitesummary.postinst:Wolfgang Schweer2016-11-19-8/+5
| | | | | | - Drop apache2 restart call as it doesn't seem to work inside chroots. - Use maintscript-helper to enable the cgi(d) module and sitesummary configuration instead of calling a2enmod and a2enconf directly.
* Make sure sitesummary configuration is enabled even in case apache2 isWolfgang Schweer2016-11-14-0/+13
| | | | | | installed after sitesummary (Closes: #760084, #830102). - Add file d/sitesummary.triggers - Add configuration code for triggered) case to d/sitesummary.postinstall
* Remove trailing space.Petter Reinholdtsen2015-05-14-1/+1
|
* Call db_stop before apache restartDominik George2015-05-14-15/+18
|
* Fix installation problem when sitesummary is preseeded to update munin ↵Petter Reinholdtsen2014-09-10-0/+1
| | | | configuration. Make sure /etc/sitesummary/ is created when postinst try to create a file there.
* Implement workaround for the failing installation when apache and ↵Petter Reinholdtsen2014-09-02-7/+10
| | | | sitesummary is installed at the same time, and apache is unpacked but not yet configured when the sitesummary postinst is running (bug #760084).
* Try to enable the cgi apache module before the sitesummary configuration, in ↵Petter Reinholdtsen2014-08-31-1/+1
| | | | case that help with bug #760084.
* Adjust Apache configuration.Petter Reinholdtsen2014-08-21-0/+1
| | | | | | Use 'Require all granted' instead of Order/Deny/Allow, and enable cgi.load module when installing the sitesummary server to get it working out of the box.
* Remove obsolete code from sitesummary postinst, used when migrating apache ↵Petter Reinholdtsen2014-08-21-11/+0
| | | | config in sitesummary version 0.0.7.
* Migrate setup to Apache 2.4 (Closes: #669782).Petter Reinholdtsen2014-08-21-2/+9
| | | | | | Rename conffile /etc/apache2/conf.d/sitesummary to /etc/apache2/conf-available/sitesummary.conf and update postinst to enable it by default on fresh installs.
* Add service definition to dummy nagios configuration generated atPetter Reinholdtsen2010-04-06-0/+7
| | | | | install time to make sure the dummy entry work with Nagios 3.2 too.
* Adjust sitesummary postinst to only try to enable nagiosPetter Reinholdtsen2010-01-26-21/+27
| | | | autoconfig if /etc/default/nagios3 exist.
* Nagios configuration.Petter Reinholdtsen2010-01-19-0/+12
| | | | | | | * Make sure to create a dummy Nagios configuration during installation when Nagios autoconfiguration is enabled, to make sure Nagios start on first boot when sitesummary is installed from debian-installer.
* * Provide debconf preseeding suppport (using hidden questions) forPetter Reinholdtsen2010-01-18-0/+12
| | | | | | | activating Nagios NRPE configuration on clients and Nagios autoconfiguration on the server. * Automatically detect if remote NRPE commands can be used for Nagios checks, and if arguments can be passed or not.
* Add code to get rid of unwanted stop symlinks in runlevels 0, 1 and 6.Petter Reinholdtsen2009-09-01-0/+5
|
* [ Petter Reinholdtsen ]Petter Reinholdtsen2007-05-31-12/+46
| | | | | | | | | | | * Add code in the server cronjob to generate a replacement munin.conf, and make it possible to activate it in munin by setting MUNINDIR=/etc/munin/ in collector.cfg. * Add preseedable hidden boolean debconf question sitesummary/replace-munin-config to make it possible to enable this feature at install time. * Update the postinst script to make sure the install time code is only executed during configure.
* [ Bart Cornelis (cobaco) ]Petter Reinholdtsen2007-05-18-0/+3
| | | | | | [ Petter Reinholdtsen ] * Run cron job just after installation, to get the web page generated. (Closes: #423256)
* * Fix regex used to extract eth0 MAC address, to avoid matching peth0Petter Reinholdtsen2006-12-09-2/+5
| | | | | | | | | | | | | | | on a vmware box. * Improve template text to include the example URL. to make it easier to come up with URLs usable from external machines. * Add perl-modules as dependency for sitesummary-client, to make sure Getopt::Std is available for sitesummary-upload. * Add new collect.d/debian to collect debian specific stuff. Now collects /etc/debian_version and the output from dpkg -l. * Change the collector to use the mac address from eth1 or eth2 if eth0 isn't usable. * Throw away error messages from dmidecode when collecting info, to avoid daily cron mails from Xen machines. * Only use a2dissite to disable the site if it is enabled.
* * Add symlink from /etc/apache/conf.d/sitesummary toPetter Reinholdtsen2006-10-06-1/+1
| | | | | | /etc/apache2/conf.d/sitesummary, to work with both apache and apache2. Adjust dependency accordingly, and rewrite postinst to continue working when apache2-common isn't installed.
* * Modify the sitesummary postinst script to make surePetter Reinholdtsen2006-10-04-0/+3
| | | | | | /var/lib/sitesummary/tmpstorage and /var/lib/sitesummary/entries are owned by user www-data. This give the cgi-script write access to the storage area.
* * Fix typo in sitesummary postinst, breaking upgrades.Petter Reinholdtsen2006-09-20-1/+1
|
* * Add daily cron job to update web pages once a day.Petter Reinholdtsen2006-08-31-0/+11
* Remove old /etc/apache2/sites-available/sitesummary if it exist, to cope with the new apache config structure introduced version 0.0.6.