Cristian Rodríguez wrote:
El 17/11/12 13:54, Per Jessen escribió:
Cristian Rodríguez wrote:
El 17/11/12 12:07, Per Jessen escribió:
How do I specify a dependency for a sysvinit service ? For instance, I want to write a new service unit for a service that requires mysql.
Wants=mysql.service....
Thanks for confirming that. I did try that, but it didn't seem to work.
Wants=mysql.service (or Requires:) After=mysql.service
should work.. what's the error message ?
Operator error ... I had it defined with the default Type=simple, but the daemon does the normal fork(), so I guess systemd automatically killed the forked() process. I changed it to Type=forking, and now it works. -- Per Jessen, Zürich (4.6°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org