![](https://seccdn.libravatar.org/avatar/ed5b1491aa79201a8eaf93bf57193584.jpg?s=120&d=mm&r=g)
On 04/15/2014 06:16 AM, Ralf Haferkamp wrote:
Hi,
with systemd we nowadays handle enabling services by default via the systemd-preset-* packages. But AFAICS this really only handles automatic enablement of the service (== systemctl enable). The service are still not running after that. For that I still need to either reboot a call systemctl start manually. Is that really the expected behavior? If yes, what is the correct way to automatically have a service started after installation.
Currently I am looking at open-iscsi which has iscsid.socket and iscsi.service listed in /usr/lib/systemd/system-preset/90-default-openSUSE.preset. Both are correctly enable after installation, but only started after reboot.
The systemd packaging guidelines should have the answer http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines HTH, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX SUSE-IBM Software Integration Center Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org