diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-17 04:02:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-17 04:02:35 +0100 |
commit | f6a6225e414858ff222d2b175369cc42459abf9a (patch) | |
tree | c4c15d546c5c514d2d7dfabbf64d10944e9edc85 /src/service.c | |
parent | b74949bcdc65982a5eaca64c836f4d2a3b8a8d0c (diff) |
def: centralize definition of default timeout in one place
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/service.c b/src/service.c index e7a9e7c586..0f28312b38 100644 --- a/src/service.c +++ b/src/service.c @@ -35,13 +35,12 @@ #include "special.h" #include "bus-errors.h" #include "exit-status.h" - -#define COMMENTS "#;\n" -#define NEWLINES "\n\r" +#include "def.h" +#include "util.h" #ifdef HAVE_SYSV_COMPAT -#define DEFAULT_SYSV_TIMEOUT_USEC (3*USEC_PER_MINUTE) +#define DEFAULT_SYSV_TIMEOUT_USEC (5*USEC_PER_MINUTE) typedef enum RunlevelType { RUNLEVEL_UP, |