72b5088449
to improve fscd(8)[1] compatibility. fscd(8) monitors daemons and restarts after daemons crashed. We usually want to start, stop, and restart xrdp and xrdp-sesman separately because restarting xrdp-sesman means losing existing sessions. This change will enable fscd(8) not to restart xrdp-sesman together when only xrdp daemon crashes. Now rc.d/xrdp mainly has following commands: * start - starts xrdp * stop - stops xrdp * restart - stops xrdp, then starts it again * allstart - starts both xrdp and xrdp-sesman * allstop - stops both * allrestart - stops both, then start them again * status - returns status of xrdp rc.d/xrdp-sesman doesn't have all- prefixed commands. [1] https://www.freshports.org/sysutils/fsc/
3 lines
80 B
Makefile
3 lines
80 B
Makefile
startscriptdir = $(sysconfdir)/rc.d
|
|
dist_startscript_SCRIPTS = xrdp xrdp-sesman
|