diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-04 20:07:33 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-04 20:07:33 +0300 |
commit | 348f0302fc3764c0bbd11c8cbafa41af3b2dbeed (patch) | |
tree | f7437978efeb0d6c0559d58c71b8f3f10649ab7f /netdata-installer.sh | |
parent | 56dc4e5d401e9740f15ba9c937abc0fab36ccca0 (diff) |
increased version in html for CDN refresh; updated API reference for badge.svg; installer attempts to use service with restart argument; enable exim plugin for installation
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index f07da52de2..1c08d8d9b7 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -607,7 +607,7 @@ if [ "${UID}" -eq 0 ] fi stop_all_netdata - run service netdata start && started=1 + run service netdata restart && started=1 fi if [ ${started} -eq 0 ] @@ -615,7 +615,11 @@ if [ "${UID}" -eq 0 ] # check if we can use the system service run service netdata stop stop_all_netdata - run service netdata start && started=1 + run service netdata restart && started=1 + if [ ${started} -eq 0 ] + then + run service netdata start && started=1 + fi fi fi |