LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New daemon (system V vs. systemd). (https://www.linuxquestions.org/questions/linux-newbie-8/new-daemon-system-v-vs-systemd-4175430744/)

CrAzYoNi 10-05-2012 03:09 PM

New daemon (system V vs. systemd).
 
Hi all,
I've wrote some server-side code in Python that should listen to new connections and reply to them with some data (meant for monitoring purposes).

On CentOS (6.3) I've created a new daemon, using system V, and the script running well.
Though in Fedora (17) I've created a new daemon, using systemd, and the script running and quitting.

I've set it to "Type=forking" and didn't added the PIDFile - if I will add it, I will get failure: "bad message" which I couldn't understand.

Can you assist me understand and solving that issue please?
Thanks in advance.


All times are GMT -5. The time now is 05:23 AM.