File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ cp -va /entrypoint.sh /data/last-build.1
65
65
66
66
mkdir -p /var/log/hubble_osquery/backuplogs
67
67
68
- mkdir -p /usr/lib/systemd/system
68
+ mkdir -p /etc/init.d
69
69
mkdir -p /etc/profile.d
70
70
mkdir -p /etc/hubble
71
71
72
- cp -v /hubble_build/pkg/hubble.service /usr/lib/systemd/system/
72
+ cp -v /hubble_build/pkg/hubble /etc/init.d
73
73
cp -v /hubble_build/conf/hubble-profile.sh /etc/profile.d/
74
74
75
75
if [ -f /data/hubble ]
@@ -102,7 +102,7 @@ tar -cSPvvzf /data/hubblestack-${HUBBLE_VERSION}.tar.gz \
102
102
--exclude opt/hubble/pyenv \
103
103
/etc/hubble /opt/hubble /opt/osquery \
104
104
/etc/profile.d/hubble-profile.sh \
105
- /usr/lib/systemd/system/ hubble.service \
105
+ /etc/init.d/ hubble \
106
106
/var/log/hubble_osquery/backuplogs \
107
107
2>&1 | tee /hubble_build/rpm-pkg-start-tar.log
108
108
@@ -133,8 +133,8 @@ scl enable rh-ruby23 'fpm -s dir -t rpm \
133
133
--url ${HUBBLE_URL} \
134
134
--description "${HUBBLE_DESCRIPTION}" \
135
135
--rpm-summary "${HUBBLE_SUMMARY}" \
136
- --after-install /hubble_build/conf/afterinstall-systemd .sh \
137
- --after-upgrade /hubble_build/conf/afterupgrade-systemd .sh \
136
+ --after-install /hubble_build/conf/afterinstall.sh \
137
+ --after-upgrade /hubble_build/conf/afterupgrade.sh \
138
138
--before-remove /hubble_build/conf/beforeremove.sh \
139
139
etc/hubble opt usr /var/log/hubble_osquery/backuplogs'
140
140
You can’t perform that action at this time.
0 commit comments