Skip to content

Instantly share code, notes, and snippets.

@nhalstead
Last active February 24, 2020 22:01
Show Gist options
  • Save nhalstead/9c3a767e814cd13bc38fd7dbf9f8434d to your computer and use it in GitHub Desktop.
Save nhalstead/9c3a767e814cd13bc38fd7dbf9f8434d to your computer and use it in GitHub Desktop.
Service for CentOS to run the xTeVe project. https://github.com/xteve-project/xTeVe

Download xTeVe for CentOS and extract it.

yum install unzip
wget https://xteve.de/download/xteve_2_linux_amd64.zip
unzip xteve_2_linux_amd64.zip

Create a new service file.

vi /etc/systemd/system/xteve.service

Save the following configuration

[Unit]
Description=xTeVe Service
After=network.target

[Service]
Type=simple
User=root
ExecStart=/root/xteve
Restart=on-abort

[Install]
WantedBy=multi-user.target

Enable and Start the Service

sudo systemctl enable xteve
sudo systemctl start xteve

Done, Check the web interface to configure the settings.

http://[ip]:34400/web/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment