You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to ensure that a fetch_hostname system service starts before the MicroShift service.
I took a reference of microshift-ovs-init.service and accordingly created fetch_hostname.service as below:
I've tried several combinations, such as starting the fetch_hostname.service after the crio and network services, but nothing seems to be working. The fetch_hostname.service is not at all starting before the microshift service.
Is there any other way to start any service before microshift service starts.
The text was updated successfully, but these errors were encountered:
Just using the Before= wont be enough, as there is no hard dependency between the services, MicroShift is not aware of fetch_hostname.
You will need to use a drop in configuration for MicroShift to add Requires= and After=. Something like:
Then store this in /etc/systemd/system/microshift.service.d/hostname.conf, run systemctl daemon-reload and relaunch MicroShift with systemctl start microshift.service.
Hi Team,
I need to ensure that a fetch_hostname system service starts before the MicroShift service.
I took a reference of microshift-ovs-init.service and accordingly created fetch_hostname.service as below:
I've tried several combinations, such as starting the fetch_hostname.service after the crio and network services, but nothing seems to be working. The fetch_hostname.service is not at all starting before the microshift service.
Is there any other way to start any service before microshift service starts.
The text was updated successfully, but these errors were encountered: