user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* Restarting daemons on config file change
@ 2021-07-19 20:03 Konstantin Ryabitsev
  2021-07-19 20:49 ` Eric Wong
  0 siblings, 1 reply; 12+ messages in thread
From: Konstantin Ryabitsev @ 2021-07-19 20:03 UTC (permalink / raw)
  To: meta

Hello:

Something I stumbled on today is the need to have the -httpd and -nntpd
daemons reread the config file after we've mirrored and initialized new
inboxdirs. The situation is:

- public-inbox-{httpd,nntpd} are running as systemd services as user
  "publicinbox"
- the mirroring and initialization/indexing is done as user "mirror", so we
  can't send a HUP to the daemon processes

The best I can think of is a systemd watcher service that automatically
restarts the daemons when the config file is modified, but I wanted to check
here first to see if perhaps I'm missing something simpler.

-K

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-07-25 10:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 20:03 Restarting daemons on config file change Konstantin Ryabitsev
2021-07-19 20:49 ` Eric Wong
2021-07-20  8:58   ` [PATCH] httpd: fix SIGHUP by invalidating cache on reload Eric Wong
2021-07-20 17:00   ` Restarting daemons on config file change Konstantin Ryabitsev
2021-07-20 20:34     ` Eric Wong
2021-07-20 20:49       ` Konstantin Ryabitsev
2021-07-20 21:07         ` Eric Wong
2021-07-20 21:18           ` Konstantin Ryabitsev
2021-07-21 14:05             ` [PATCH 1/2] extsearch: support publicinbox.*.boost parameter Eric Wong
2021-07-21 14:05             ` [PATCH 2/2] init: allow arbitrary key-values via -c KEY=VALUE Eric Wong
2021-07-25 10:40               ` [PATCH 3/2] init: support git <2.30 for "-c KEY=VALUE" args Eric Wong
2021-07-21 15:32             ` [PATCH 0/2] things to make mirroring easier Konstantin Ryabitsev

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).