[systemd-devel] Unload disabled units

Reindl Harald h.reindl at thelounge.net
Mon Sep 16 09:18:48 UTC 2019



Am 16.09.19 um 09:36 schrieb Zbigniew Jędrzejewski-Szmek:
> Normally units should be unloaded immediately if they are stopped
> and didn't fail. What systemd version are you using?

the better question is which one are you using because this behavior
below exists for many years and it's good given that you normally want
the journald output

[root at srv-rhsoft:~]$ systemctl status vnc
● vnc.service - VNC Server
   Loaded: loaded (/etc/systemd/system/vnc.service; disabled; vendor
preset: disabled)
   Active: inactive (dead)

Sep 16 11:15:24 srv-rhsoft.rhsoft.net systemd[1]: Started VNC Server.
Sep 16 11:15:28 srv-rhsoft.rhsoft.net systemd[1]: Stopping VNC Server...
Sep 16 11:15:28 srv-rhsoft.rhsoft.net systemd[1]: vnc.service: Succeeded.
Sep 16 11:15:28 srv-rhsoft.rhsoft.net systemd[1]: Stopped VNC Server.

[root at srv-rhsoft:~]$ rpm -q systemd
systemd-241-12.git1e19bcd.fc30.x86_64


More information about the systemd-devel mailing list