<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi list! I'm a lurker.<br></div><div><br></div>I don't use httpobs, but can help find a way to solve this:<br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Cédric BRINER <<a href="mailto:cedric.briner@unige.ch" target="_blank">cedric.briner@unige.ch</a>><br><br>
I try to use systemd to launch httpobs. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I split them into pieces:<br>
  - celery<br>
  - scan-worker<br>
  - api<br>
<br>
I was not able to make it work at all.<br></blockquote><div><br></div><div>Cédric, have you already started and stopped httpobs manually?<br>Make a simple ugly script (and use sleep seconds if needed) as a reference and to easily verify that httpobs can be started and stopped, making sure there are no problems with configs, lock files, etc.<br><br>Copy and edit the ugly script until it works with the pieces as you split it. If you get stuck, quickly verify that the original simple ugly script is still working, so you know for sure the problem is in your new nicer script and not with anything else.</div><div><br></div><div>After you know how to start & stop these pieces manually, is a good time to start wrapping it up for systemctl:<br></div><div><a href="http://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd" target="_blank">http://unix.stackexchange.com/<wbr>questions/47695/how-to-write-<wbr>startup-script-for-systemd</a><br></div><div><div><br></div><div>§ Do you use the stackexchange forums? It's usually easier to get help by first writing a question on the biggest relevant forum first. After some hours (timezones...) maybe you already have some suggestions and have added more details that people think you must add/explain, that is the perfect time to post on a maillist. If you pass on only one advice to any computer user, I'd want it to be this paragraph. §<br></div></div></div></div></div>