diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-28 06:44:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-28 06:44:13 +0100 |
commit | b5ea5d95b40315ed9bb21a443480f717092d4981 (patch) | |
tree | 9775d1de22e5c6582078f2a0e90788e57e519bd5 | |
parent | b19e7dc0104c8839835a90d7df20c2eeb631e07e (diff) |
relax unit name rules a bit
-rw-r--r-- | unit.c | 2 | ||||
-rw-r--r-- | unit.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ UnitType unit_name_to_type(const char *n) { "0123456789" \ "abcdefghijklmnopqrstuvwxyz" \ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ - "-_" + "-_.\\" bool unit_name_is_valid(const char *n) { UnitType t; @@ -23,7 +23,7 @@ typedef enum UnitDependency UnitDependency; #include "execute.h" #include "util.h" -#define UNIT_NAME_MAX 32 +#define UNIT_NAME_MAX 128 #define DEFAULT_TIMEOUT_USEC (20*USEC_PER_SEC) #define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC) |