Tip of the day: If you don't want to receive private messages, set user mode +D. You can also force it on all users.

Or, if you only want to allow private messages from people who are identified to Services then set +R.

Cron job

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

Usually, you’ll want UnrealIRCd to start automatically at boot. This can be done using a cron job (supported on all Unix-like systems), or alternatively via a Systemd unit on Linux distributions that use the systemd init system, such as Ubuntu.

  • Run crontab -e to edit your crontab. It will fire up an editor.
  • Add the following two lines to the file (make sure there is an enter at the end):
*/5 * * * * /home/yourusername/unrealircd/unrealircd croncheck
@reboot /home/yourusername/unrealircd/unrealircd croncheck
  • Save it. Done!

The first line makes the unrealircd script check if UnrealIRcd is running every five minutes (hence the */5). The second line will ensure that UnrealIRCd is started as soon as possible after the system has rebooted (hence the @reboot). It's possible to do without the 2nd line but then it may take up to 5 minutes after a reboot for the IRCd to be started.

You can also add the following line at the top of your crontab to make sure you are e-mailed whenever UnrealIRCd is (re)started through cron:

[email protected]