Skip to content

Instantly share code, notes, and snippets.

@MrXermon
Created January 10, 2021 07:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MrXermon/98b18b9ae9394bcd0a498d75782b41c1 to your computer and use it in GitHub Desktop.
Save MrXermon/98b18b9ae9394bcd0a498d75782b41c1 to your computer and use it in GitHub Desktop.
Ookla Server systemd file
[Unit]
Description=ooklaserver
After=network.target
[Service]
User=ooklaserver
Group=ooklaserver
WorkingDirectory=/opt/ooklaserver
ExecStart=/opt/ooklaserver/OoklaServer --daemon --pidfile=/opt/ooklaserver/OoklaServer.pid
PIDFile=/opt/ooklaserver/OoklaServer.pid
ExecStop=/bin/kill -s TERM $MAINPID
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment