#define SPECIAL_REMOTE_FS_TARGET "remote-fs.target"
#define SPECIAL_SYSLOG_TARGET "syslog.target" /* Should pull in syslog.socket or syslog.service */
#define SPECIAL_RTC_SET_TARGET "rtc-set.target" /* LSB's $time */
-#define SPECIAL_SYSINIT_SERVICE "sysinit.service"
+#define SPECIAL_BASIC_TARGET "basic.target"
+#define SPECIAL_RESCUE_TARGET "rescue.target"
/* For SysV compatibility. Usually an alias for a saner target. On
* SysV-free systems this doesn't exist. */
bool dispatching_run_queue:1;
bool dispatching_dbus_queue:1;
- bool request_bus_dispatch:1;
+ bool request_api_bus_dispatch:1;
bool request_system_bus_dispatch:1;
Hashmap *watch_pids; /* pid => Unit object n:1 */
char **unit_path;
char **sysvinit_path;
+ char **sysvrcnd_path;
/* Data specific to the device subsystem */
struct udev* udev;
Watch mount_watch;
/* Data specific to the D-Bus subsystem */
- DBusConnection *bus, *system_bus;
+ DBusConnection *api_bus, *system_bus;
Set *subscribed;
/* Data specific to the cgroup subsystem */
char *cgroup_hierarchy;
};
-int manager_new(Manager **m);
+int manager_new(ManagerRunningAs running_as, Manager **m);
void manager_free(Manager *m);
int manager_coldplug(Manager *m);