Re: dbmail init systemd
Gordan Bobic <[email protected]> Fri, 15 Jul 2016 12:12:08 +0100
| Newsgroups | gmane.mail.imap.dbmail |
|---|---|
| Message-ID | <[email protected]> |
On 2016-07-15 12:01, Reindl Harald wrote: > Am 15.07.2016 um 12:58 schrieb Gordan Bobic: >> On 2016-07-15 11:43, Admin Beckspaced wrote: >>> i see there's also a systemd folder in the 3.2.3 version: >>> >>> https://github.com/pjstevns/dbmail/tree/master/systemd >>> >>> and some makefiles .... >>> >>> sorry ... i'm no linux expert, but could you perhaps shed some light >>> on creating the proper systemd service files for my OS opensuse >>> >>> would really love to have that nice auto-restart feature once a >>> dbmail >>> process crashes. >>> this is possble with using systemd service files, isn't it? >> >> While I get that auto-restart on crash is conceptually a very DevOps >> way of glazing over the problem, I hope I am not the only one feeling >> a little nervous about trusting an application that randomly crashes >> on a regular basis with something as potentially important as email. > > surely, but you have two options if a service crashs > > * process monitoring which restarts it > * wait for complaint calls and start it by hand > > none of both will solve the underlying problem magically but "until i > don't know how to solve the real issue i refuse to start the service" > won't help ypu No option of migrating to something that doesn't crash if the bug isn't fixed upstream in a reasonable timeframe? Gordan