Code: Select all
$ sudo systemctl list-unit-files | grep cockpit
cockpit-motd.service static
cockpit.service static
cockpit.socket disabled
Code: Select all
$ sudo systemctl list-unit-files | grep cockpit
cockpit-motd.service static
cockpit.service static
cockpit.socket disabled
Code: Select all
When started via systemd(1) then cockpit-ws will exit after 90 seconds if nobody logs in, or after the last user is disconnected.
and man cockpit-ws includes:The cockpit-ws web service listens on port 9090 and is started on demand by systemd. The Cockpit web service authenticates the user,
loads Cockpit into the browser, and starts cockpit-bridge in a Linux user session.
The cockpit-bridge provides Cockpit in the web browser with access to the system APIs. It does this over its standard in and standard
out. The bridge is started like a shell once per Linux user session.
So basically it's systemd which as we know is perfect, never needs debugging and knows what you want to do with your system better than you.Users or administrators should never need to start this program as it automatically started by systemd(1) on bootup.
Shouldn't need to do that, the el8 package ships a /usr/lib/systemd/system/mlocate-updatedb.timerIt may be rank heresy but I've copied mlocate from the C7 machine into the C8 VM and manually run it. Locate now works, but still doesn't find cockpit*.* or cockpit*.
Useful default: disabled. You'd think that if you go to the trouble of installing the package it would set itself up to run![root@centos8 ~]# sc status mlocate-updatedb.timer
● mlocate-updatedb.timer - Updates mlocate database every day
Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.timer; disabled; vendor preset: disabled)
Active: inactive (dead)
Trigger: n/a