File tree Expand file tree Collapse file tree 7 files changed +15
-8
lines changed Expand file tree Collapse file tree 7 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Package: mtda-service
1818Architecture: all
1919Multi-Arch: foreign
2020Depends: mtda-common,
21+ mtda-systemd-helper,
2122 dnsmasq-base,
2223 iptables,
2324 kpartx,
@@ -43,6 +44,13 @@ Description: Multi-Tenant Device Access service
4344 Provide the infrastructure for running MTDA as a systemd
4445 service.
4546
47+ Package: mtda-systemd-helper
48+ Architecture: all
49+ Multi-Arch: foreign
50+ Depends: mtda-common
51+ Description: handle dynamic config fragments and restart mtda-service
52+ on config changes.
53+
4654Package: mtda
4755Architecture: all
4856Multi-Arch: foreign
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[Unit]
22Description =Multi-Tenant Device Access
3- After =network-online.target mtda-config .service
3+ After =network-online.target mtda-systemd-helper .service
44Wants =network-online.target
55ConditionPathExists =/etc/mtda/config
66
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ override_dh_auto_install:
3737 mv debian/tmp/usr debian/mtda-service/
3838 install -m 0755 -d debian/mtda-service/usr/sbin
3939 mv debian/mtda-service/usr/bin/mtda-service debian/mtda-service/usr/sbin/
40- mv debian/mtda-service/usr/bin/mtda-systemd-helper debian/mtda-service/usr/sbin/
40+ :
41+ install -m 0755 -d debian/mtda-systemd-helper/usr/sbin
42+ mv debian/mtda-service/usr/bin/mtda-systemd-helper debian/mtda-systemd-helper/usr/sbin/
4143 :
4244 install -m 0755 -d debian/mtda-client/usr/bin
4345 mv debian/mtda-service/usr/bin/mtda-cli debian/mtda-client/usr/bin/
@@ -76,6 +78,7 @@ override_dh_auto_install:
7678 install -m 0644 configs/10-www.conf debian/mtda-www/etc/mtda/config.d/
7779
7880override_dh_installsystemd :
79- dh_installsystemd -p mtda-www --name= mtda-www
81+ dh_installsystemd -p mtda-www mtda-www.service
8082 dh_installsystemd -p mtda-service --name=mtda
81- dh_installsystemd -p mtda-service --name=mtda-config
83+ dh_installsystemd -p mtda-systemd-helper mtda-systemd-helper.path
84+ dh_installsystemd -p mtda-systemd-helper mtda-systemd-helper.service
You can’t perform that action at this time.
0 commit comments