open5gs/configs/systemd
Matthew Johnson 7df65e832e
Relax systemd requirements (#1368)
* [configs] Remove requires systemd-networkd dep from smfd service

The smf no longer has (never had?) a dependency on systemd-networkd,
and can start and remain operational without systemd-networkd
specifically running.

* [configs] Relax upf dependency on systemd-networkd

The upf relies on systemd-networkd to create the ogstun interface, but
does not communicate with it at runtime. It currently has a "Requires"
dependency specified, which means that the upf will be stopped if
systemd-networkd is ever stopped. Since the upf doesn't actually care
if systemd-networkd is later stopped after ogstun is created, it can
use the weaker "Wants" dependency type, which allows it to keep
running even if systemd-networkd were to be stopped.

Regardless, since it does rely on systemd-networkd specifically to
create the ogstun interface, it should sequence itself "After"
systemd-networkd has been started.

Since the true dependency is ogstun, not systemd-networkd, a cleaner
approach would depend on the specific tunnel device being
available. Systemd exposes this information via device units, but I'm
not sure if they are always consistently named across platforms.
2022-02-16 17:56:14 +09:00
..
99-open5gs.netdev Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
99-open5gs.network Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
meson.build [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00
open5gs-amfd.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-ausfd.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-bsfd.service.in [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00
open5gs-hssd.service.in Support Debian(Bluster) with MongoDB-ORG(#377) 2020-03-22 13:48:20 -04:00
open5gs-mmed.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-nrfd.service.in [PKG] fix debian mongod dependency problem (#915) 2021-04-05 20:32:27 +09:00
open5gs-nssfd.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-pcfd.service.in [PKG] fix debian mongod dependency problem (#915) 2021-04-05 20:32:27 +09:00
open5gs-pcrfd.service.in Support Debian(Bluster) with MongoDB-ORG(#377) 2020-03-22 13:48:20 -04:00
open5gs-sgwcd.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-sgwud.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-smfd.service.in Relax systemd requirements (#1368) 2022-02-16 17:56:14 +09:00
open5gs-udmd.service.in Systemd sequencing (#1366) 2022-02-15 22:33:33 +09:00
open5gs-udrd.service.in [PKG] fix debian mongod dependency problem (#915) 2021-04-05 20:32:27 +09:00
open5gs-upfd.service.in Relax systemd requirements (#1368) 2022-02-16 17:56:14 +09:00