Run OoklaServer on StartUp Server

 Here is my unit file for ookla speedtest service:


# /etc/systemd/system/speedtest.service

[Unit]

After=network.target


[Service]

User=ookla-user

Group=nogroup


WorkingDirectory=/opt/ooklaserver/


Type=simple

KillMode=mixed


ExecStart=/opt/ooklaserver/OoklaServer


TimeoutStartSec=30

TimeoutStopSec=60


Restart=always


[Install]

WantedBy=multi-user.target


Save it into the /etc/systemd/system/speedtest.service file. Then run systemctl daemon-reload and systemctl enable speedtest.service