Opened 5 years ago

Closed 5 years ago

#3787 closed change (fixed)

Let Trac restart automatically after a crash

Reported by: matze Assignee: matze
Priority: P3 Milestone:
Module: Infrastructure Keywords:
Cc: kzar Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):


... by integrating Puppet type customservice::supervisor with type trac::instance.

Change History (4)

comment:1 Changed 5 years ago by matze

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 5 years ago by matze

I've altered the first patch-set, after further tests reviled some limitations in the supervisor's script logic:

spawn-fcgi = /var/run/
spawn-fcgi = /var/run/

Every trac::instance is started using the spawn-fcgi init script, which the Python code assumes the settings.ini key to correspond to. Now since equal keys override each other in the order of appearance, only one value is recognized anyway. And those values are expected to correspond to the PID files.

Hence the new version does not directly integrate with trac::instance, but the declaring manifest, and only considers the primary instance.

comment:3 Changed 5 years ago by abpbot

A commit referencing this issue has landed:

comment:4 Changed 5 years ago by matze

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.