0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd: log runtime path (mainly as proof of concept for rb_path_to_self())

This commit is contained in:
William Pitcock 2016-03-21 21:14:11 -05:00
parent 790e4dce4e
commit 4d383612d4

View file

@ -168,7 +168,7 @@ print_startup(int pid)
if (fd != 1)
abort();
#endif
inotice("runtime path: %s", rb_path_to_self());
inotice("now running in %s mode from %s as pid %d ...",
!server_state_foreground ? "background" : "foreground",
ConfigFileEntry.dpath, pid);