Enable services.slurm.dbdserver and configure SlurmDBD/Slurmctld to have accounting.
services.slurm.dbdserver