12 lines
231 B
Bash
Executable File

#!/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