Project

General

Profile

Actions

Architecture #15333

closed

User story #15330: Add rudder relay commands

Use relay reload command in relayd unit

Added by Alexis Mousset over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

Instead of sighup.

systemd doc says:

Note however that reloading a daemon by sending a signal (as with the example line above) is usually not a good choice, because this is an asynchronous operation and hence not suitable to order reloads of multiple services against each other. It is strongly recommended to set ExecReload= to a command that not only triggers a configuration reload of the daemon, but also synchronously waits for it to complete.

It will also allow catching error while reloading config.

Actions #1

Updated by Alexis Mousset over 5 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/2346
Actions #3

Updated by Alexis Mousset over 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF