I have installed Ookla speed test on my server. Everything is working but I don't know how to enable Ookla script to start automatically after the server reboot.I am using Ubuntu 20.04. I already checked Ookla website(https://support.ookla.com/hc/en-us/articles/234578588-Linux-Startup-Script-Options) but did understand it properly. They said I need to enable the script on /etc/rc.local
I also did not find rc.local on /etc. How can I enable the script to start automatically? I am new on Linux.
Linux – How to enable Ookla script to start automatically after server reboot
linuxUbuntu
Related Topic
- Ubuntu – Reboot after power failure for Mac running Ubuntu (server)
- Ubuntu – Best way to start a program at boot on Ubuntu Server
- Ubuntu – How to start thesql server in ubuntu 12.04
- Ubuntu – Init.d script works when run manually, but not on reboot
- Linux – /etc/rc.local doesn’t execute apache tomcat startup script on boot
- Ookla Server – How to Set Up for Speed Test
Best Answer
Here is my unit file for ookla speedtest service:
Save it into the
/etc/systemd/system/speedtest.service
file. Then runsystemctl daemon-reload
andsystemctl enable speedtest.service
.