Fix the systemd service files for ncdm and fix a typo in sessions.py