Ticket #849 (accepted enhancement)

Opened 10 years ago

Last modified 2 years ago

update_server should write out a pidfile

Reported by: jdreed Owned by: jdreed
Priority: low Milestone: Current Semester
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Someone should patch update_server to write out a pidfile so it will play nice with start-stop-daemon. We should also get that patch upstreamed.

Change History

comment:1 Changed 8 years ago by jdreed

  • Owner set to jdreed
  • Status changed from new to accepted

comment:2 Changed 8 years ago by jdreed

Accepted upstream as r4104.

comment:3 Changed 2 years ago by mitchb

So, this happened 6 years ago. However, the init script (so quaint and 2000s; of
course it's autogenerated into a systemd unit now) still has two blocks of code
mucking around with PID files that say they should be removed when this very bug
gets addressed. They seem to interfere with the daemon starting (perhaps I needed
to do more experimenting to see if that was truly the problem). However, the
daemon does start up and write a PID file with them ripped out, so they should be
ripped out now. Optionally, we could convert to a native systemd service unit,
but that's obviously a little more work.

Note: See TracTickets for help on using tickets.