Skip to content

Commit

Permalink
final working version
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Nov 18, 2022
1 parent 5d103fd commit 511845c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmdClusterAddExporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (c *clusterAddExporterCmd) Execute(args []string) error {
} else {
commands = [][]string{
[]string{"/bin/bash", "-c", "systemctl daemon-reload"},
[]string{"/bin/bash", "-c", "kill -9 `pidof aerospike-prometheus-exporter` 2>/dev/null || echo starting"},
[]string{"/bin/bash", "-c", "systemctl stop aerospike-prometheus-exporter"},
[]string{"/bin/bash", "-c", "systemctl start aerospike-prometheus-exporter"},
}
Expand Down

0 comments on commit 511845c

Please sign in to comment.