-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Sun, 11 May 2014 18:23:25 +0200
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-05-11 17:57, jdd wrote:
There are various possible states
- Enabled + active - disabled + active - Enabled + inactive - disabled + inactive - masked (this is the only state where the service won't start ever)
well, what does that mean?
I think that "active" means that it is running now. "Enabled" means that it is set to automatically start (at boot? When needed? Both?)
No. "enabled" means that links that are specified in [Install] section of service definition are created. Nothing more. It does not even imply that service will ever be started. If foo.service has [Install] WantedBy=service-that-is-never-started.service then "systemctl enable" will create link /etc/systemd/system/service-that-is-never-started.service.wants/foo.service but that's it. Unless foo.service is started by some other means, it will not run. The main confusion stems from the fact that as opposed to sysvinit, there is no single state (run level) to enable service in, but most people subconsciously expect it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlN5fbIACgkQR6LMutpd94x44ACfd4kPBWda0wKVx2gVQwRakDPS kwkAnR91hG/DkM/5IpcUopXFEloNj+jF =T8Hd -----END PGP SIGNATURE----- N▀╖╡ФЛr╦⌡yИ ┼Z)z{.╠О╝·к⌡╠йБmЙ)z{.╠Й+│:╒{Zrшaz▄'z╥╕j)h╔ИЛ╨г╬ё ч╝┼^·к╛z┼Ю