962 B
962 B
Install from sources
Instructions
Follow the build instructions then:
- Prepare files and directories:
# Create a dedicated user
useradd -r mxisd
# Create bin directory
mkdir /opt/mxisd
# Create config directory and set ownership
mkdir -p /etc/opt/mxisd
chown -R mxisd /etc/opt/mxisd
# Create data directory and set ownership
mkdir -p /var/opt/mxisd
chown -R mxisd /var/opt/mxisd
# Copy <repo root>/build/libs/mxisd.jar to bin directory
cp ./build/libs/mxisd.jar /opt/mxisd/
chown mxisd /opt/mxisd/mxisd.jar
chmod a+x /opt/mxisd/mxisd.jar
# Create symlink for easy exec
ln -s /opt/mxisd/mxisd.jar /usr/bin/mxisd
- Copy the sample config file
./application.example.yaml
to/etc/opt/mxisd/mxisd.yaml
, edit to your needs - Copy
src/systemd/mxisd.service
to/etc/systemd/system/
and edit if needed - Enable service for auto-startup
systemctl enable mxisd
- Start mxisd
systemctl start mxisd