So you want to update your ircd

From pisswiki
Revision as of 15:03, 14 February 2022 by Roadkill (talk | contribs)
Jump to: navigation, search

Tested on pissircd with custom scripts installed.

When attempting to upgrade using the built in unrealircd upgrader, it failed with an error about calling a script directly. This was my way of working around the built in updater.

It -should- work for those running vanilla unrealircd and upgrading to pissircd. But we're making a backup of your unrealircd folder regardless.

The fun bit: You can build, upgrade and make all changes while your ircd is running, needing only to stop and restart when done.

  • Remove all of your previous build and backup folders (you won't be using the built in unrealircd upgrader, so clear out the old cruft.)
  • Back up your unrealircd folder (cp -R unrealircd backup.unrealircd)
  • git clone https://github.com/pissnet/pissircd
  • cd pissircd && ./Config
  • Hit enter on everything (defaults)
  • make
  • make install
  • cd ..
  • cd unrealircd
  • cd conf
  • nano unrealircd.conf
  • Comment out the entire block for > log "ircd.log"
    • from log "ircd.log"
    • including "flags {"
    • to second "}"
    • It will keep the ircd checker from complaining and default to logging what it already logged without commenting out that section, otherwise your conf fails checks.
  • Add these two lines to your unrealircd.conf:
    • include "snomasks.default.conf";
    • loadmodule "cloak_md5";
  • Save
  • cd ..
  • ./unrealircd stop
  • ./unrealircd start

You should be running piss60 successfully.