On 12/01/2014 08:23 PM, Rahul Sundaram wrote:
HI
On Mon, Dec 1, 2014 at 8:17 PM, Robert Moskowitz wrote:
Perhaps at some point we will get better tools for using systemd.
Thanks for bringing in something useful to the discussion that I can
address:
I mean compare:
systemctl restart sshd.service
with
service sshd restart
Is there something else to do with sshd other than sshd.service?
I have not found it. Why not:
systemctl restart sshd
Have you tried? Hint: It works fine.
Nope. Nice to know.
Then there was good old 'chkconfig' that produced a nice
tablular
report of services that can be controlled. I have yet to find
anything close to this with systemd.
https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
You think
'chkconfig --list' can be easily replaced with
systemctl list-unit-files --type=service(preferred)
ls /etc/systemd/system/*.wants/
Nah. No way.
Oh, and that (perferred) gives an error :)
And the list is hugh compared to what services are really up to user
control. I mean listed items like:
dbus-org.fedoraproject.FirewallD1.service enabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.machine1.service static
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
And there are others there that are just as challenging to remember when
you need them.