On 05/20/2014 07:43 PM, FUJITA Tomonori wrote: > From: Apollon Oikonomopoulos > > tgtd may take some time to initialize before accepting management > commands. Since management commands are used to bring the targets up > during service startup, we have to make sure that tgtd is responsive > before proceeding. To this end, we add a call to sd_notify(3) right > before entering the event loop to signal systemd (if applicable) that > the main process is ready. > > Systemd support with the relevant includes and linker flags is optional, > controlled by the SD_NOTIFY make flag. > > Signed-off-by: Apollon Oikonomopoulos Hi Apollon, Fedora tgtd pkg maintainer here. Better systemd integration seems like a good way to go. BTW I feel deep shame about the systemd service file that Fedora is currently using (attached), especially the sleep. Does this or another change perhaps result in a better way to integrate tgt with systemd? Do we need two service files or something? It would be great if tgt could use the same service file(s) on all systemd-enabled distros, and these could be included with tgtd. Regards -- Andy