-
Notifications
You must be signed in to change notification settings - Fork 141
Description
Further to @Hooverdan96's work against #2650, it is proposed that we re-evaluate our systemd Type= settings (either implied or explicit) for all existing and incomming (in testing) services.
Post our incoming changes against #2650, we have the following upon rpm install and systemctl enable --now rockstor-bootstrap
systemctl list-units --type=service --state=active | grep rockstor
...
rockstor-build.service loaded active exited Build Rockstor
rockstor-pre.service loaded active exited Tasks required prior to starting Rockstor
rockstor.service loaded active running Rockstor SGI Service
rockstor-collector.service loaded active running Rockstor Collector Service
rockstor-scheduling.service loaded active running Rockstor Scheduling Service
rockstor-replication.service loaded active running Rockstor Replication Service
rockstor-bootstrap.service loaded active exited Rockstor Bootstrapping Tasks
The above output is re-orders to indicate typical expected start-up order and does not include our rockstor-nginx-override.conf as this is not a service. It also includes the single non-default service of rockstor-replication.service as having been enabled.
N.B. we have a number of different types of services here to wrangle - and the primary objective of this issue is to assess our existing use of type=simple in some cases as it does not await the ExecStart binaries completion prior to launching dependant services: potentially causing failure in these dependant services.
See also: #3034 (comment)
Upstream referenced: https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=