X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fservice.h;h=81401ac387ec207aee8affd26a68b08deaa7a75f;hp=725e2135f156cbd02a78ff497e03bce8496f2afb;hb=34e9ba669e75fb3b8f481076e75df5c2abb8192b;hpb=00b07cb3f3e26511f0627af686aa18652e780177 diff --git a/src/service.h b/src/service.h index 725e2135f..81401ac38 100644 --- a/src/service.h +++ b/src/service.h @@ -58,7 +58,7 @@ typedef enum ServiceRestart { typedef enum ServiceType { SERVICE_SIMPLE, /* we fork and go on right-away (i.e. modern socket activated daemons) */ SERVICE_FORKING, /* forks by itself (i.e. traditional daemons) */ - SERVICE_FINISH, /* we fork and wait until the program finishes (i.e. programs like fsck which run and need to finish before we continue) */ + SERVICE_ONESHOT, /* we fork and wait until the program finishes (i.e. programs like fsck which run and need to finish before we continue) */ SERVICE_DBUS, /* we fork and wait until a specific D-Bus name appears on the bus */ SERVICE_NOTIFY, /* we fork and wait until a daemon sends us a ready message with sd_notify() */ _SERVICE_TYPE_MAX,