BTS-specific install of sysmobts-mgr.service
Move sysmobts-mgr.service installation into per-BTS functions: use BTS-specific config file via appropriate service name. Related: SYS#3686
This commit is contained in:
parent
cc4ab049af
commit
7b529371dd
|
@ -47,8 +47,6 @@ do_install_append() {
|
|||
|
||||
# Future sysmobts-mgr handling
|
||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/
|
||||
ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
}
|
||||
|
||||
do_install_append_sysmobts-v2() {
|
||||
|
@ -59,6 +57,8 @@ do_install_append_sysmobts-v2() {
|
|||
# Install systemd and enable on sysinit
|
||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0660 ${S}/doc/examples/sysmo/sysmobts-mgr.cfg ${D}${sysconfdir}/osmocom
|
||||
install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/
|
||||
ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0644 ${S}/contrib/osmo-bts-sysmo.service ${D}${systemd_unitdir}/system/
|
||||
ln -sf ../osmo-bts-sysmo.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
}
|
||||
|
@ -72,6 +72,8 @@ do_install_append_sysmobts2100() {
|
|||
|
||||
# Install systemd and enable on sysinit
|
||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/lc15bts-mgr.service
|
||||
ln -sf ../lc15bts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
install -m 0660 ${S}/doc/examples/litecell15/lc15bts-mgr.cfg ${D}${sysconfdir}/osmocom/
|
||||
install -m 0644 ${S}/contrib/osmo-bts-lc15.service ${D}${systemd_unitdir}/system/
|
||||
ln -sf ../osmo-bts-lc15.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||
|
|
Loading…
Reference in New Issue