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);