Switching to the correct list. OK, I'll modify the script to try to find /etc/init.d/postgresql OR /etc/systemd/postgresql.service. And then, I let "service" to the job! Thanks for the tips on systemd and see you on monday for the updated patch.
Pierre 2011/11/12 Miroslav Suchy <msu...@redhat.com> > > > ----- Original Message ----- > > 3) I'll try to find the best way to detect if systemd is used or not. > > I don't have a F16 box, so a few questions: > > - How is postgresql controlled with systemd: postgresql start and > > stop? > > old "service postgresql XXX" still works, it is translated to "systemctl > XXX postgresql.service", which is native for systemd. > > > - Is postgresql the only software that is integrated with systemd in > > spacewalk? > > Probably yes (I'm not sure about httpd). But we use command "service", > which works for both old sys-v scripts and for systemd too. > I recommend you the same. > > > Mirek > > _______________________________________________ > Spacewalk-list mailing list > spacewalk-l...@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel