Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] how to restart obs services correctly?
Am 06.02.20 um 14:53 schrieb Stefan Seyfried:
Hi Srinidhi,

Am 05.02.20 um 05:34 schrieb Srinidhi B:
Hello Stefan,


The Administrator Guide has this table:


https://openbuildservice.org/help/manuals/obs-admin-guide/obs.cha.installation_and_configuration.html#id-1.6.5.4.5.5

Below the table, you will see this:

The sequence in the table reflects the start sequence...

Hope this helps,

Yes, this is very helpful.

I will take a note to look into the excellent documentation in the future
before asking questions that are already
answered there... ;-)

I looked a bit closer today (while writing a "obs-restart" script... ;-) and
found some possible problems in that table.

This is the doc, I'll comment inline

systemctl start obssrcserver.service # => After=obsservice.service!!
systemctl start obsrepserver.service
systemctl start obsservice.service # will already be running because of
obssrcserver
systemctl start obsdodup.service
systemctl start obsdeltastore.service
systemctl start obsscheduler.service # => After=obsrepserver obssrcserver =>
all fine
systemctl start obsdispatcher.service # => After=obsrepserver obssrcserver
obsscheduler => ok
systemctl start obspublisher.service
systemctl start obssigner.service
systemctl start obswarden.service
systemctl start obsclouduploadworker.service
systemctl start obsclouduploadserver.service

So obssrcserver obviously should be between obsservice and obsdodup.
Missing from the table is obsservicedispatch.service, which has
"After=obsservice.service", so it should be also before obsdodup.

Am I right that https://github.com/openSUSE/obs-docu is the correct place for a
pull request?

Thanks,

seife
--
Stefan Seyfried

"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >