summaryrefslogtreecommitdiff
path: root/src/systemctl
AgeCommit message (Collapse)Author
2012-06-13unit-name: introduce unit_dbus_path_from_name()Michal Schmidt
Use the same function in core and in systemctl. get_unit_path() in systemctl becomes unnecessary.
2012-06-13systemctl: warn about all active triggers, not just socketsMichal Schmidt
2012-06-13systemctl: fix iteration in check_listening_sockets()Michal Schmidt
2012-06-13systemctl: remove is_socket_listeningMichal Schmidt
We can use the functionality of check_unit(). Factor out check_one_unit().
2012-06-13systemctl: style fixes for the previous patchMichal Schmidt
Use the usual indentation, bracketing style, and no assignments in ifs. Since check_listening_sockets provides just optional hints for the user, don't pass its DBusErrors to the caller.
2012-06-13systemctl will print warning when stopping unitMichal Sekletar
systemctl now prints warning and list of sockets in listenning state which can trigger start of service which is about to be stopped
2012-06-04systemctl: rename "man" to "help"Kay Sievers
2012-05-31systemctl: introduce "systemctl man" to show man page for unitLennart Poettering
For now this only reads man: URLs, but later on we might want to support info: too. http/https is probably out of focus.
2012-05-30build-sys: fix built with --disable-logindLennart Poettering
2012-05-23manager: rework generator logicLennart Poettering
Previously generated units were always placed at the end of the search path. With this change there will be three unit dirs instead of one, to place generated entries at the beginning, in the middle and at the end of the search path: beginning: for units that need to override all configuration, regardless of user or vendor. Example use: system-update-generator uses this to temporarily redirect default.target. middle: for units that need to override vendor configuration, but not vendor configuration. Example use: /etc/fstab should override vendor supplied configuration (think /tmp), but should not override native user configuration. end: does not override anything but is available as well. Possible usage might be to convert D-Bus bus service files to native units but allowing vendor supplied native units to win.
2012-05-22units: remove service sysv_path variable and replace it by generic unit_pathLennart Poettering
UnitPath= is also writable via native units and may be used by generators to clarify from which file a unit is generated. This patch also hooks up the cryptsetup and fstab generators to set UnitPath= accordingly.
2012-05-21delta: fix spelling of overriddenNis Martensen
2012-05-21units: introduce new Documentation= field and make use of it everywhereLennart Poettering
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
2012-05-21systemctl: drop useless DBus calls from 'systemctl show foo.service'Michal Schmidt
systemctl called LoadUnit, GetUnit, GetAll in this order to get the properties. It is useless to load units explicitly, because it won't ensure anything. The unit may be freed immediately by the garbage collector. It is unnecessary to call GetUnit, because systemctl can easily translate the unit name to DBus path by itself. GetAll will load the unit if necessary.
2012-05-14systemctl: add switch-root verbLennart Poettering
2012-05-08logind: implement suspend/hibernate calls with inhibition logicLennart Poettering
2012-05-08sleep: implement suspend/hibernate as first class targetsLennart Poettering
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-05-04systemctl: fix typoLennart Poettering
as Sergey Ptashnick pointed out we should write "poweroff" once instead of "reboot" twice.
2012-05-03dbus: include unit name in JobNew/JobRemoved signalsLennart Poettering
This breaks D-Bus interface slightly, but since the D-Bus API isn't covered by the interface stability promise this should be OK.
2012-05-03systemctl: allow 'systemctl reboot -ff' to succeed even without D-BusLennart Poettering
2012-05-03systemctl: print a nice error message if an unprivileged user calls ↵Lennart Poettering
systemctl reboot -ff
2012-05-03systemctl: get rid of arg_immediate and fold it into arg_forceLennart Poettering
2012-04-16systemctl: show main and control PID explicitly in cgroup-showLennart Poettering
In some cases the main/control PID of a service can be outside of the services cgroups (for example, if logind readjusts the processes' cgroup). In order to clarify this for the user show the main/control PID in the cgroup tree nonetheless, but mark them specially.
2012-04-16cgls: don't show empty cgroups by defaultLennart Poettering
2012-04-13build-sys: add stub makefiles to all subdirs to ease development with emacsLennart Poettering
2012-04-12move all tools to subdirsKay Sievers