Files
ma1sd/docs/install/source.md
Max Dor 4185b644b7 Continue structural port from Spring Boot to Undertow
- Configuration options
- Configuration documentation
2019-01-07 03:01:46 +01:00

956 B

Install from sources

Instructions

Follow the build instructions then:

  1. 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
  1. Copy the sample config file ./mxisd.example.yaml to /etc/opt/mxisd/mxisd.yaml, edit to your needs
  2. Copy src/systemd/mxisd.service to /etc/systemd/system/ and edit if needed
  3. Enable service for auto-startup
systemctl enable mxisd
  1. Start mxisd
systemctl start mxisd