-
- Downloads
Add support for systemd system state notifications
When the systemd dev package (e.g. libsystemd-dev) is installed, we can use sd_notify() to inform systemd of Synchronet server state/status. The state values (READY, STOPPING, RELOADING) are "well known" while the status value is a free-form text string (the last lputs output). Eliminated the free-form status() callback from *startup_t. Eliminated the now-redundant started() callback from *startup_t. Eliminated the use of sbbs_status.c/h as nothing is using that interface and while I do plan on using a remote control/monitor interface, I'm considering use of a standard pub/sub lib and protocol. This commit is going to break the Windows sbbsctrl build for sure. Probably break the sbbsNTsvcs build.
Showing
- src/sbbs3/GNUmakefile 4 additions, 0 deletionssrc/sbbs3/GNUmakefile
- src/sbbs3/ftpsrvr.c 9 additions, 12 deletionssrc/sbbs3/ftpsrvr.c
- src/sbbs3/ftpsrvr.h 1 addition, 2 deletionssrc/sbbs3/ftpsrvr.h
- src/sbbs3/mailsrvr.c 13 additions, 30 deletionssrc/sbbs3/mailsrvr.c
- src/sbbs3/mailsrvr.h 1 addition, 2 deletionssrc/sbbs3/mailsrvr.h
- src/sbbs3/main.cpp 9 additions, 19 deletionssrc/sbbs3/main.cpp
- src/sbbs3/sbbscon.c 112 additions, 417 deletionssrc/sbbs3/sbbscon.c
- src/sbbs3/services.c 12 additions, 13 deletionssrc/sbbs3/services.c
- src/sbbs3/services.h 1 addition, 2 deletionssrc/sbbs3/services.h
- src/sbbs3/startup.h 19 additions, 2 deletionssrc/sbbs3/startup.h
- src/sbbs3/websrvr.c 8 additions, 9 deletionssrc/sbbs3/websrvr.c
- src/sbbs3/websrvr.h 2 additions, 3 deletionssrc/sbbs3/websrvr.h
Loading
Please register or sign in to comment