]> err.no Git - systemd/commitdiff
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 3f4bbd9ed7d51f0db73a7f3c1057c149cac98c87..5d68583f10c267c50e61e1596a90f0ddbde4ca1c 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)