Follow the build instructions then:
# Create a dedicated user
useradd -r mxisd
# Create config directory
mkdir -p /etc/mxisd
# Create data directory and set ownership
mkdir -p /var/lib/mxisd
chown -R mxisd /var/lib/mxisd
# Create bin directory, copy the jar and launch scriot to bin directory
mkdir /usr/lib/mxisd
cp ./build/libs/mxisd.jar /usr/lib/mxisd/
cp ./src/script/mxisd /usr/lib/mxisd
chown -R mxisd /usr/lib/mxisd
chmod a+x /usr/lib/mxisd/mxisd
# Create symlink for easy exec
ln -s /usr/lib/mxisd/mxisd /usr/bin/mxisd
Copy the configuration file you've created following the build instructions to /etc/mxisd/mxisd.yaml
- Copy
src/systemd/mxisd.service
to/etc/systemd/system/
and edit if needed - Enable service for auto-startup
systemctl enable mxisd
systemctl start mxisd
mxisd logs to stdout, which is normally sent to /var/log/syslog
or /var/log/messages
.