diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-10 04:50:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-10 18:00:21 +0200 |
commit | 2c696a96a2bd63d2ff0d5595622124ef9270b172 (patch) | |
tree | 834e51c040f4dc6f5067d46e76a4b15b45ed1e49 /manager.h | |
parent | f6ff8c29caeeec3d1f1164be73f87d867d8f1b18 (diff) |
build-sys: automatically figure out names of dbus/syslog services
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -70,8 +70,6 @@ struct Watch { #include "dbus.h" #define SPECIAL_DEFAULT_TARGET "default.target" -#define SPECIAL_SYSLOG_SERVICE "syslog.service" -#define SPECIAL_DBUS_SERVICE "messagebus.service" #define SPECIAL_LOGGER_SOCKET "systemd-logger.socket" #define SPECIAL_KBREQUEST_TARGET "kbrequest.target" #define SPECIAL_CTRL_ALT_DEL_TARGET "ctrl-alt-del.target" @@ -85,6 +83,14 @@ struct Watch { #define SPECIAL_BASIC_TARGET "basic.target" #define SPECIAL_RESCUE_TARGET "rescue.target" +#ifndef SPECIAL_DBUS_SERVICE +#define SPECIAL_DBUS_SERVICE "dbus.service" +#endif + +#ifndef SPECIAL_SYSLOG_SERVICE +#define SPECIAL_SYSLOG_SERVICE "syslog.service" +#endif + /* For SysV compatibility. Usually an alias for a saner target. On * SysV-free systems this doesn't exist. */ #define SPECIAL_RUNLEVEL0_TARGET "runlevel0.target" |