One thing to note is you may want to add the absolute path to the curl command. I got some errors when first testing this out on an Ubuntu box. I needed to set ExecStart to ExecStart=/usr/bin/curl for the service to run properly.
curl
ExecStart=/usr/bin/curl
Thank you for catching this! I agree with you, and have edited the article accordingly.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One thing to note is you may want to add the absolute path to the
curl
command. I got some errors when first testing this out on an Ubuntu box. I needed to set ExecStart toExecStart=/usr/bin/curl
for the service to run properly.Thank you for catching this! I agree with you, and have edited the article accordingly.