enable starting netdata when there is no service installed
Costa Tsaousis (ktsaou) committed
Apr 2, 2017 at 19:12 UTC
44f2478a962de1df7b627716a1d5b581cf8bf43f
4 files changed
+20
-4
Makefile.am
+1
-1
@@ -78,12 +78,12 @@ dist_noinst_SCRIPTS= \
78
makeself/makeself-license.txt \
79
makeself/setup-x86_64-static.sh \
80
makeself/post-installer.sh \
81
+ makeself/jobs/10-prepare-destination.install.sh \
82
makeself/jobs/50-curl-7.53.1.install.sh \
83
makeself/jobs/50-bash-4.4.install.sh \
84
makeself/jobs/50-fping-3.16.install.sh \
85
makeself/jobs/70-netdata-git.install.sh \
86
makeself/jobs/99-makeself.install.sh \
86
- makeself/jobs/10-prepare-destination.install.sh \
87
makeself/run-all-jobs.sh \
88
makeself/install-or-update.sh \
89
makeself/build-x86_64-static.sh \
installer/functions.sh
+1
-1
@@ -519,7 +519,7 @@ restart_netdata() {
519
then
520
# still not started...
521
522
- stop_all_netdata
522
+ run stop_all_netdata
523
run "${netdata}" "${@}"
524
return $?
525
fi
makeself/install-or-update.sh
+1
-1
@@ -153,7 +153,7 @@ done
153
# -----------------------------------------------------------------------------
154
progress "starting netdata"
155
156
-restart_netdata
156
+restart_netdata "/opt/netdata/bin/netdata"
157
if [ $? -eq 0 ]
158
then
159
netdata_banner "is installed and running now!"
makeself/jobs/50-curl-7.53.1.install.sh
+17
-1
@@ -6,7 +6,7 @@ exit 0
6
7
fetch "curl-curl-7_53_1" "https://github.com/curl/curl/archive/curl-7_53_1.tar.gz"
8
9
-# export CFLAGS="-static"
9
+export CFLAGS="-static -DCURL_STATICLIB"
10
export LDFLAGS="-static"
11
export PKG_CONFIG="pkg-config --static"
12
export curl_LDFLAGS="-all-static"
@@ -22,6 +22,22 @@ run ./configure \
22
--enable-proxy \
23
--enable-ipv6 \
24
--enable-cookies \
25
+ --disable-ldap \
26
+ --disable-sspi \
27
+ --without-librtmp \
28
+ --disable-ftp \
29
+ --disable-file \
30
+ --disable-dict \
31
+ --disable-telnet \
32
+ --disable-tftp \
33
+ --disable-rtsp \
34
+ --disable-pop3 \
35
+ --disable-imap \
36
+ --disable-smtp \
37
+ --disable-gopher \
38
+ --disable-smb \
39
+ --disable-ares \
40
+ --without-libidn \
41
${NULL}
42
43
run make clean