chiark / gitweb /
units: make maximum unit name longer, since DM names manager to hit the limit
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:18:13 +0000 (02:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:18:13 +0000 (02:18 +0200)
src/unit.h

index 3f4bbd9..5d68583 100644 (file)
@@ -39,7 +39,7 @@ typedef enum UnitDependency UnitDependency;
 #include "socket-util.h"
 #include "execute.h"
 
-#define UNIT_NAME_MAX 128
+#define UNIT_NAME_MAX 256
 #define DEFAULT_TIMEOUT_USEC (60*USEC_PER_SEC)
 #define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC)