Smuxi (isn't that a weird name?) is an IRC client, which has a decoupled server and client setup. The server sits in some always-on machine in "the cloud" and the client connects to it from a local machine. This is particularly useful if the client machine does not have good or reliable connectivity. If the client loses the connection, it can reconnect to the server, and not lose any of the ongoing chat.
So, that brings me to my question. the Smuxi server documentation is a little sparse, It says
If you want the smuxi-server to automatically start in the background when your system boots, continue reading the following sections. This is highly dependent of your operating system as each system provides its own way to auto start services.
There are then some highly instructive blank spaces starting with words like "Debian", "Ubuntu", and "Other Linux".
The section then has
To always start the smuxi-server automatically when the Linux server boots, add this to your /etc/rc.local file:
sudo -u your_linux_user bash -c 'nohup smuxi-server > $HOME/smuxi-server.log &'
I'm not sure whether I should be taking this advice. I use Debian, and this script has the words
This script is executed at the end of each multiuser runlevel.
I'm not sure what that means. Does that mean it executes multiple times? Isn't that a bad thing?
Anyway, I'm looking for advice (or possibly scripts) for a way to start the server automatically on boot, and also a way to run it manually and have it background automatically. I could run it inside screen, but that feels a little... hacky.
Since I'm using Debian wheezy, I'd like a method that would work with that systems default setup.