Merge "debian: Clean up services starting"

This commit is contained in:
Zuul 2022-03-09 16:16:26 +00:00 committed by Gerrit Code Review
commit a6e650a340
5 changed files with 7 additions and 12 deletions

View File

@ -1 +1 @@
/lib/systemd/system-preset/*
/etc/systemd/system-preset/*

View File

@ -0,0 +1,2 @@
# enable compatibility between Debian and Centos
/lib/lsb/init-functions /etc/init.d/functions

View File

@ -1,6 +0,0 @@
#!/bin/sh
set -e
echo "source /lib/lsb/init-functions" > /etc/init.d/functions
#DEBHELPER#

View File

@ -4,8 +4,8 @@
dh $@
override_dh_auto_install:
install -d debian/tmp/lib/systemd/system-preset
install -m 544 stx/systemd/99-default-disable.preset debian/tmp/lib/systemd/system-preset
install -m 544 stx/systemd/90-default.preset debian/tmp/lib/systemd/system-preset
install -m 544 stx/systemd/85-debpkg-issues.preset debian/tmp/lib/systemd/system-preset
install -d debian/tmp/etc/systemd/system-preset
install -m 544 stx/systemd/99-default-disable.preset debian/tmp/etc/systemd/system-preset
install -m 544 stx/systemd/90-default.preset debian/tmp/etc/systemd/system-preset
install -m 544 stx/systemd/85-debpkg-issues.preset debian/tmp/etc/systemd/system-preset
dh_install

View File

@ -7,7 +7,6 @@
# with all packages installed regardless of personality.
# config-gate.spec
enable config.service
#enable worker-config.service
# controllerconfig.spec