Install as freedata system service

work in progress

This tutorial installs freedata as system service so it starts automaticall on startup.

Install via Linux install scripts first

sudo nano /etc/systemd/system/freedata.service

insert content into file

[Unit] Description=FreeData Server After=network.target

[Service] Type=simple WorkingDirectory=/home/freedata/ ExecStart=bash run-freedata-linux.sh Restart=on-failure User=freedata

[Install] WantedBy=multi-user.target

sudo chmod 644 /etc/systemd/system/freedata.service

sudo systemctl daemon-reload sudo systemctl enable freedata.service

sudo systemctl start freedata.service

Check status via

systemctl status freedata.service journalctl -u freedata.service -f