Skip to content

Commit 782637a

Browse files
Make sure the START event is the first one
1 parent 69dadb0 commit 782637a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

houserelays.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ int main (int argc, const char **argv) {
211211
UseHousePortal = 1;
212212
}
213213
houselog_initialize ("relays", argc, argv);
214+
houselog_event ("SERVICE", "relays", "START", "ON %s", HostName);
214215
const char *error = houserelays_config_load (argc, argv);
215216
if (error) {
216217
houselog_trace
@@ -232,7 +233,6 @@ int main (int argc, const char **argv) {
232233

233234
echttp_static_route ("/", "/usr/local/share/house/public");
234235
echttp_background (&hc_background);
235-
houselog_event ("SERVICE", "relays", "START", "ON %s", HostName);
236236
echttp_loop();
237237
}
238238

0 commit comments

Comments
 (0)