On Debian 8, Xeams was failing to start at boot with:
systemd[419]: Failed at step EXEC spawning /etc/init.d/xeams: Exec format error
Was able to fix by removing the blank line at the beginning of /etc/init.d/xeams so that the very first line is:
#!/bin/sh
Saw this issue in both the 32bit and 64bit linux installations.