influxdb/cmd/influxd/launcher
Geoffrey Wossum e9ea8cfb31
feat: add `--pid-file` option to write PID files (#25499)
Add `--pid-file` option to write PID files on startup. The PID filename
is specified by the argument after `--pid-file`. If the PID file already exists, influxd will exit unless the `--overwrite-pid-file` flag is also used.

Example: `influxd --pid-file /var/lib/influxd/influxd.pid`

PID files are automatically removed when the influxd process is shutdown.

Closes: #25498
(cherry picked from commit c35321b470)
(cherry picked from commit 48f760065b)
2024-10-29 16:10:32 -05:00
..
_tlstests fix(tls): Update TLS strict cipher suite to actually work (#20921) 2021-03-16 10:45:27 -04:00
backup_restore_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
cmd.go feat: add `--pid-file` option to write PID files (#25499) 2024-10-29 16:10:32 -05:00
cmd_test.go feat: error out when config file contains 1.x config values (#22996) 2021-12-15 20:57:01 -06:00
engine.go fix: improve delete speed when a measurement is part of the predicate (#23786) 2022-10-14 15:09:32 -04:00
flusher.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
launcher.go feat: add `--pid-file` option to write PID files (#25499) 2024-10-29 16:10:32 -05:00
launcher_helpers.go feat: add `--pid-file` option to write PID files (#25499) 2024-10-29 16:10:32 -05:00
launcher_test.go feat: add `--pid-file` option to write PID files (#25499) 2024-10-29 16:10:32 -05:00
pkger_test.go build(flux): update flux to v0.173.0 (#23505) 2022-06-30 11:39:07 -06:00
print_config.go chore: add deprecation notice for print-config command (#23026) 2021-12-28 13:54:17 -05:00
print_config_test.go chore: update jsonparser to 1.1.1 and yaml.v3 to 3.0.1 (#23385) 2022-06-01 11:20:37 -05:00
query_test.go build(flux): update flux to v0.185.0 (#23775) 2022-10-05 08:25:58 -06:00
remote_to_test.go feat: tsm compaction metrics via prometheus (#22904) 2021-11-19 14:51:22 -05:00
replication_test.go fix: do not require remoteOrgID in remote config/creation request (#23838) 2022-11-01 09:47:45 -05:00
storage_test.go build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05:00