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
Ethan Adams
27c6c6aeae
ci: Golangci lint v1.43.0 changes ( #4307 )
...
Co-authored-by: Stefan Benten <mail@stefan-benten.de>
2021-12-09 20:49:48 +01:00
Yaroslav Vorobiov
c4d5625965
cmd/storagenode-updater: fix service build tag, for platforms other than linux and windows
...
Change-Id: I7ed76b80a1df0ef53f2dd6726a602cc3bd4df9de
2020-10-01 15:32:28 +03:00
Yaroslav Vorobiov
4783c3e1d3
storagenode-updater/linux: restart systemd service
...
Change-Id: I8ac25ecc41323ec0d5abf8ee65276c1d7a59f74d
2020-09-02 06:22:19 +00:00
Yaroslav Vorobiov
516b8cf2be
storagenode-updater: add recovery for windows service restart
...
Reimplement windows service restart part using svc, add recovery
for failed service startup. Added restart-service cmd, to execute
self restart in a separate process.
Addressed issues:
https://storjlabs.atlassian.net/browse/SG-49
https://storjlabs.atlassian.net/browse/SG-136
https://storjlabs.atlassian.net/browse/SG-137
Change-Id: Ic51d9a99e8c1c10800c6c60ff4e218321c674fea
2020-05-01 09:07:05 +00:00
Bryan White
b56cc21710
cmd/storagenode-updater: make updater test windows compatible ( #3542 )
2019-11-14 16:03:49 +02:00