#!/bin/bash

# Reload systemd to recognize the new service
systemctl daemon-reload

# Enable the service to start on boot
systemctl enable farmcontrol-server.service

# Start the service
systemctl start farmcontrol-server.service

sleep 3

farmcontrol-server --info