rockstor / rockstor-rpmbuild

RPM build specifications used to create the distributed 'rockstor' package from rockstor-core and rockstor-jslibs GitHub releases.
GNU General Public License v3.0
2 stars 3 forks source link

Ensure systemd services are stopped during upgrade #43

Closed phillxnet closed 1 year ago

phillxnet commented 1 year ago

We appear to be failing to stop our outgoing systemd services during an upgrade. This may be down to a legacy forced/premature removal of these service files prior to later automated mechanisms intended to address this.

This issue is a spin-off from:

https://github.com/rockstor/rockstor-core/issues/2651

phillxnet commented 1 year ago

Establishing that our existing rpmbuild (spec) configuration correctly 'owns' all our systemd service files in their installed (active) locations:

rleap15-5:~ # rpm -ql rockstor | grep "\.service"
/etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf
/opt/rockstor/conf/rockstor-bootstrap.service
/opt/rockstor/conf/rockstor-hdparm.service
/opt/rockstor/conf/rockstor-pre.service
/opt/rockstor/conf/rockstor.service
/usr/lib/systemd/system/rockstor-bootstrap.service
/usr/lib/systemd/system/rockstor-pre.service
/usr/lib/systemd/system/rockstor.service
phillxnet commented 1 year ago

Closing as: Fixed by #44