I am trying to get Byobu to startup with Ubuntu Server 12.04 when the server starts up.
I've figured out how to do this with a screen session but I want it to be in Byobu with all the added features, not in screen.
start() within an init.d script for screen this is the line that works (after changing the environment to the correct user via
su - $USER -c "$USER_INIT; $1" >/dev/null && return 0 --- USER and USER_INIT are both populated properly, tested working via screen):
screen -U -S $SESSIONNAME -d -t $WCAPP -m $WCAPP
byobu-screen does not work. I have the back-end set to screen.
I DO NOT want to edit the
/.byobu/windows file as that does not launch until a user manually starts a byobu back-end.
The $SESSIONNAME I am using is weechat and the $WCAPP variable is weechat-curses, I have no quarrels about using the literal value instead of passing variables.