+ /* Try to get priority - may fail. */\r
+ unsigned long priority;\r
+ if (get_number(key, NSSM_REG_PRIORITY, &priority) == 1) {\r
+ if (priority == (priority & priority_mask())) service->priority = priority;\r
+ else log_event(EVENTLOG_WARNING_TYPE, NSSM_EVENT_BOGUS_PRIORITY, service->name, NSSM_REG_PRIORITY, 0);\r
+ }\r
+\r