Check binary version on self-update instead of current process version to prevent updating already updated binary. Add info logs to report current version of service beeing updated. Change-Id: Id22dee188a99d6d45db925104786f49f5d3a61ae
See: https://review.dev.storj.io/c/storj/storj/+/2052 https://review.dev.storj.io/c/storj/private/+/2053 Change-Id: I30952c6e3893194ca876c12ecb7e53944e66aa2e
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