File tree 4 files changed +2
-6
lines changed
4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1123,6 +1123,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
1123
1123
set (FLB_INSTALL_BINDIR "bin" )
1124
1124
set (FLB_INSTALL_LIBDIR "lib" )
1125
1125
set (FLB_INSTALL_CONFDIR "conf" )
1126
+ set (FLB_INSTALL_INITDIR "init.d" )
1126
1127
set (FLB_INSTALL_INCLUDEDIR "include" )
1127
1128
else ()
1128
1129
set (FLB_INSTALL_BINDIR ${CMAKE_INSTALL_FULL_BINDIR} )
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ case "${1}" in
17
17
;;
18
18
esac
19
19
20
- # Automatically added by dh_installinit/12.10
21
20
if [ " $1 " = " configure" ] || [ " $1 " = " abort-upgrade" ] || [ " $1 " = " abort-deconfigure" ] || [ " $1 " = " abort-remove" ] ; then
22
21
if [ -x " /etc/init.d/fluent-bit" ]; then
23
22
update-rc.d fluent-bit defaults > /dev/null
@@ -29,7 +28,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-decon
29
28
invoke-rc.d fluent-bit $_dh_action || exit 1
30
29
fi
31
30
fi
32
- # End automatically added section
33
31
34
32
35
33
exit 0
Original file line number Diff line number Diff line change @@ -17,11 +17,9 @@ case "${1}" in
17
17
;;
18
18
esac
19
19
20
- # Automatically added by dh_installinit/12.10
21
20
if [ " $1 " = " purge" ] ; then
22
21
update-rc.d fluent-bit remove > /dev/null
23
22
fi
24
- # End automatically added section
25
23
26
24
27
25
exit 0
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -e
3
- # Automatically added by dh_installinit/12.10
3
+
4
4
if [ -x " /etc/init.d/fluent-bit" ] && [ " $1 " = remove ]; then
5
5
invoke-rc.d fluent-bit stop || exit 1
6
6
fi
7
- # End automatically added section
You can’t perform that action at this time.
0 commit comments