Define what I want the user to do in the gotcha's file, and in the spectre error messages.
This commit is contained in:
parent
5a9f9f486e
commit
d0dd47a5a4
2 changed files with 5 additions and 9 deletions
|
|
@ -47,14 +47,10 @@ save you many hours of grief.
|
|||
|
||||
# The location of the file that keeps track of the master spectre
|
||||
# processId.
|
||||
"pidFile" : "/data/wre/var/logs/spectre.pid",
|
||||
"pidFile" : "/var/run/spectre.pid", ##Or some other location
|
||||
|
||||
After installing this version, you will need to manually kill
|
||||
spectre:
|
||||
|
||||
killall spectre.pl
|
||||
|
||||
before starting it again.
|
||||
After installing this version, you should manually kill spectre and
|
||||
then modify the spectre.conf file to add the pidFile directive.
|
||||
|
||||
* The Default Gallery Album View Thumbnails template has been reworked
|
||||
to get rid of intermittent rendering bugs with IE7. The thumbnail
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ if ($shutdown) {
|
|||
local $/;
|
||||
my $pidFileName = $config->get('pidFile');
|
||||
if (! $pidFileName) {
|
||||
warn "No pidFile specified in spectre.conf, trying /var/run/spectre.pid\n";
|
||||
warn "No pidFile specified in spectre.conf; please add one. Trying /var/run/spectre.pid instead.\n";
|
||||
$pidFileName = '/var/run/spectre.pid';
|
||||
}
|
||||
open my $pidFile, '<', $pidFileName or
|
||||
|
|
@ -104,7 +104,7 @@ elsif ($daemon) {
|
|||
my $pidFileName = $config->get('pidFile');
|
||||
##Write the PID file
|
||||
if (! $pidFileName) {
|
||||
warn "No pidFile specified in spectre.conf. Trying /var/run/spectre.pid instead\n";
|
||||
warn "No pidFile specified in spectre.conf; please add one. Trying /var/run/spectre.pid instead.\n";
|
||||
$pidFileName = '/var/run/spectre.pid';
|
||||
}
|
||||
if (!ping()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue