On 01.08.2016 11:07, Tomasz Pala wrote:
# service --status-all
  S:[+] allowlogin:                                                  running
  S:[+] console:                                                     running
  S:[+] cpusets:                                                     running
  S:[+] timezone:                                                    running
  S:[+] nfsfs:                                                       running

- not entirely true, they are provided masked, as there are
   replacements, but it doesn't mean it's running. BTW what's the
   difference between:

"service" command handles only sysv stuff. the only systemd support is when working with specific service (redirecting to systemd messages). see the script source

  S:[-] netfs:                                                       NOT running
  S:[+] nfsfs:                                                       running

?

it uses the lockfile to test state:

# ls -ld /var/lock/subsys/{netfs,nfsfs}
ls: cannot access '/var/lock/subsys/netfs': No such file or directory
ls: cannot access '/var/lock/subsys/nfsfs': No such file or directory

note: this command is also sysv-only.

--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to