Showing
4 changed files
with
4 additions
and
4 deletions
... | ... | @@ -36,7 +36,7 @@ RUN chmod a+x /tmp/*.sh \ |
36 | 36 | |
37 | 37 | RUN dpkg -i /tmp/${pkg.name}.deb |
38 | 38 | |
39 | -RUN update-rc.d ${pkg.name} disable | |
39 | +RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : | |
40 | 40 | |
41 | 41 | RUN mv /tmp/logback.xml ${pkg.installFolder}/conf \ |
42 | 42 | && mv /tmp/${pkg.name}.conf ${pkg.installFolder}/conf | ... | ... |
... | ... | @@ -34,7 +34,7 @@ RUN chmod a+x /tmp/*.sh \ |
34 | 34 | |
35 | 35 | RUN dpkg -i /tmp/${pkg.name}.deb |
36 | 36 | |
37 | -RUN update-rc.d ${pkg.name} disable | |
37 | +RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : | |
38 | 38 | |
39 | 39 | RUN mv /tmp/logback.xml ${pkg.installFolder}/conf \ |
40 | 40 | && mv /tmp/${pkg.name}.conf ${pkg.installFolder}/conf | ... | ... |
... | ... | @@ -27,7 +27,7 @@ RUN chmod a+x /tmp/*.sh \ |
27 | 27 | |
28 | 28 | RUN dpkg -i /tmp/${pkg.name}.deb |
29 | 29 | |
30 | -RUN update-rc.d ${pkg.name} disable | |
30 | +RUN systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || : | |
31 | 31 | |
32 | 32 | RUN mv /tmp/logback.xml ${pkg.installFolder}/conf \ |
33 | 33 | && mv /tmp/${pkg.name}.conf ${pkg.installFolder}/conf | ... | ... |