storj/cmd/storagenode-updater
Clement Sam b5d0021fb6 cmd/storagenode-updater: restart storagenode after update on BSD unix derivatives
On BSD, the storagenode-updater falls back to renaming the storagenode without
doing anything to restart the service.
Like the approach we have for linux, this change finds the process ID of the
storagenode using pgrep and sends an interrupt signal to the process.

Closes https://github.com/storj/storj/issues/5333

Change-Id: Icced90ea3e831528804784c2170a3b8b14952e8c
2023-01-11 12:38:26 +00:00
..
testdata {internal/version,versioncontrol,cmd/storagenode-updater}: add rollout to storagenode updater (#3276) 2019-10-21 12:50:59 +02:00
binary.go all: replace deprecated ioutil 2022-10-31 15:50:41 +00:00
cmd_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
cmd.go cmd/storagenode-updater: add should-update cmd 2022-04-12 17:55:54 +00:00
loop_windows.go all: fix linting issues 2022-03-21 15:26:42 +00:00
loop.go ci: Golangci lint v1.43.0 changes (#4307) 2021-12-09 20:49:48 +01:00
main_windows.go all: fix linting issues 2022-03-21 15:26:42 +00:00
main.go cmd/{storagenode,storagenode-updater}: add Process name to logs 2022-04-12 16:49:56 +00:00
path.go storagenode-updater: add recovery for windows service restart 2020-05-01 09:07:05 +00:00
restart_bsd.go cmd/storagenode-updater: restart storagenode after update on BSD unix derivatives 2023-01-11 12:38:26 +00:00
restart_linux.go all: fix linting issues 2022-03-21 15:26:42 +00:00
restart_windows.go all: fix linting issues 2022-03-21 15:26:42 +00:00
restart.go cmd/storagenode-updater: restart storagenode after update on BSD unix derivatives 2023-01-11 12:38:26 +00:00
update.go ci: cross-compile storagenode-updater 2021-11-01 11:21:06 +00:00