diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-13 18:23:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-13 18:23:01 +0200 |
commit | 34e9ba669e75fb3b8f481076e75df5c2abb8192b (patch) | |
tree | 50027c6f4abe34d67d7309c4d6009131701dee88 /src/dbus-manager.c | |
parent | 00b07cb3f3e26511f0627af686aa18652e780177 (diff) |
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r-- | src/dbus-manager.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index dfe8a91917..42906ce04f 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -295,7 +295,6 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, DBUS_TYPE_INVALID)) goto oom; } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "GetUnitByPID")) { - const char *name; Unit *u; uint32_t pid; |