summaryrefslogtreecommitdiffstats
path: root/makeself
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-02 19:12:07 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-02 19:12:07 +0300
commit44f2478a962de1df7b627716a1d5b581cf8bf43f (patch)
treeb7c0a366032ba82310601c5e777895022233dc67 /makeself
parenta805d63ecbe947d3e711721c9905070da7808158 (diff)
enable starting netdata when there is no service installed
Diffstat (limited to 'makeself')
-rwxr-xr-xmakeself/install-or-update.sh2
-rwxr-xr-xmakeself/jobs/50-curl-7.53.1.install.sh18
2 files changed, 18 insertions, 2 deletions
diff --git a/makeself/install-or-update.sh b/makeself/install-or-update.sh
index b1cc68b76b..b0bf532401 100755
--- a/makeself/install-or-update.sh
+++ b/makeself/install-or-update.sh
@@ -153,7 +153,7 @@ done
# -----------------------------------------------------------------------------
progress "starting netdata"
-restart_netdata
+restart_netdata "/opt/netdata/bin/netdata"
if [ $? -eq 0 ]
then
netdata_banner "is installed and running now!"
diff --git a/makeself/jobs/50-curl-7.53.1.install.sh b/makeself/jobs/50-curl-7.53.1.install.sh
index cd9a3edfde..3439ee5c65 100755
--- a/makeself/jobs/50-curl-7.53.1.install.sh
+++ b/makeself/jobs/50-curl-7.53.1.install.sh
@@ -6,7 +6,7 @@ exit 0
fetch "curl-curl-7_53_1" "https://github.com/curl/curl/archive/curl-7_53_1.tar.gz"
-# export CFLAGS="-static"
+export CFLAGS="-static -DCURL_STATICLIB"
export LDFLAGS="-static"
export PKG_CONFIG="pkg-config --static"
export curl_LDFLAGS="-all-static"
@@ -22,6 +22,22 @@ run ./configure \
--enable-proxy \
--enable-ipv6 \
--enable-cookies \
+ --disable-ldap \
+ --disable-sspi \
+ --without-librtmp \
+ --disable-ftp \
+ --disable-file \
+ --disable-dict \
+ --disable-telnet \
+ --disable-tftp \
+ --disable-rtsp \
+ --disable-pop3 \
+ --disable-imap \
+ --disable-smtp \
+ --disable-gopher \
+ --disable-smb \
+ --disable-ares \
+ --without-libidn \
${NULL}
run make clean