icinga2/lib/cli
Julian Brost d0e7615779 Send signals as Icinga user in safe-reload and logrotate
In contrast to the regular `kill` binary, `icinga2 internal signal` drops
permissions before sending the signal. This is important as the PID file can be
written by the Icinga user, dropping the permissions prevents that user from
using this to send signals to processes it is not supposed to signal.

SIGUSR1 wasn't among the list of signals supported by `icinga2 internal
signal`, so it is added there.
2025-10-09 17:42:53 +02:00
..
apisetupcommand.cpp Add --cn parameter to 'api setup' CLI command allowing hostname overrides 2019-04-26 10:52:05 +02:00
apisetupcommand.hpp Add --cn parameter to 'api setup' CLI command allowing hostname overrides 2019-04-26 10:52:05 +02:00
apisetuputility.cpp Deduplicate and stabilize fragile filesystem transactions 2023-02-15 17:19:57 +01:00
apisetuputility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
calistcommand.cpp Add function docs for CA CLI commands 2019-06-07 10:33:55 +02:00
calistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
caremovecommand.cpp Add function docs for CA CLI commands 2019-06-07 10:33:55 +02:00
caremovecommand.hpp CLI: Update ca remove/restore commands from my review 2019-06-07 10:33:55 +02:00
carestorecommand.cpp Add function docs for CA CLI commands 2019-06-07 10:33:55 +02:00
carestorecommand.hpp CLI: Update ca remove/restore commands from my review 2019-06-07 10:33:55 +02:00
casigncommand.cpp Add function docs for CA CLI commands 2019-06-07 10:33:55 +02:00
casigncommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
clicommand.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
clicommand.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
CMakeLists.txt Build fix 2020-02-17 18:40:28 +01:00
consolecommand.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
consolecommand.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
daemoncommand.cpp Merge pull request #7874 from Icinga/feature/sd_notify-7329 2021-06-28 18:20:15 +02:00
daemoncommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
daemonutility.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
daemonutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
editline.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featuredisablecommand.cpp Impersonate as Icinga user, not root 2019-04-02 17:05:48 +02:00
featuredisablecommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featureenablecommand.cpp Impersonate as Icinga user, not root 2019-04-02 17:05:48 +02:00
featureenablecommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featurelistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featurelistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featureutility.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
featureutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
i2-cli.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
internalsignalcommand.cpp Send signals as Icinga user in safe-reload and logrotate 2025-10-09 17:42:53 +02:00
internalsignalcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodesetupcommand.cpp Include Utility::SetFileOwnership() inside FS transactions 2023-02-15 17:20:37 +01:00
nodesetupcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodeutility.cpp Deduplicate and stabilize fragile filesystem transactions 2023-02-15 17:19:57 +01:00
nodeutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodewizardcommand.cpp Include Utility::SetFileOwnership() inside FS transactions 2023-02-15 17:20:37 +01:00
nodewizardcommand.hpp CLI: Rename client -> agent 2019-07-20 12:53:19 +02:00
objectlistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistutility.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcacommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcacommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcertcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcertcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkirequestcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkirequestcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisavecertcommand.cpp icinga2 pki save-cert: allow to specify --key and --cert 2020-04-28 17:34:00 +02:00
pkisavecertcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisigncsrcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisigncsrcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkiticketcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkiticketcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkiverifycommand.cpp Allow specifying a CRL in icinga2 pki verify 2020-12-09 12:12:01 +01:00
pkiverifycommand.hpp Add pki verify CLI command: print, signed by CA, valid CA, CN match 2020-02-17 18:10:51 +01:00
variablegetcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablegetcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablelistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablelistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variableutility.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variableutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00