Linux specific instructions
MistServer as a Service
The easiest method to start with MistServer is to install it through the terminal. There's 2 requirements:
- You are running the script as root
curl
is installed
Linux 64-bits
Install using:
curl -o - https://releases.mistserver.org/is/mistserver_64Vlatest.tar.gz 2>/dev/null | sh
Uninstall using:
curl -o - https://releases.mistserver.org/uninstallscript.sh 2>/dev/null | sh
The configurations are stored in /etc/mistserver.conf
.
Linux 32-bits
Install using:
curl -o - https://releases.mistserver.org/is/mistserver_32Vlatest.tar.gz 2>/dev/null | sh
Uninstall using:
curl -o - https://releases.mistserver.org/uninstallscript.sh 2>/dev/null | sh
The configurations are stored in /etc/mistserver.conf
.
ARMv7 Linux
Install using:
curl -o - https://releases.mistserver.org/is/mistserver_armv7Vlatest.tar.gz 2>/dev/null | sh
Uninstall using:
curl -o - https://releases.mistserver.org/uninstallscript.sh 2>/dev/null | sh
The configurations are stored in /etc/mistserver.conf
.
ARMv8 64-bits Linux
Install using:
curl -o - https://releases.mistserver.org/is/mistserver_aarch64Vlatest.tar.gz 2>/dev/null | sh
Uninstall using:
curl -o - https://releases.mistserver.org/uninstallscript.sh 2>/dev/null | sh
The configurations are stored in /etc/mistserver.conf
.
Changing boot options for service scripts
All service scripts attempt to install at /etc/systemd/system/mistserver.service
. The default install script for systemd looks like this:
[Unit]
Description=MistServer
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/MistController -c /etc/mistserver.conf
Restart=always
RestartSec=2
TasksMax=infinity
TimeoutStopSec=8
ExecStopPost=/bin/bash -c "rm -f /dev/shm/*Mst*"
[Install]
WantedBy=multi-user.target
Simply add the optional boot parameters of your choice to the ExecStart=
line.