El 12/04/13 15:26, John Connor escribió:
2) Why is the execution of some batch files (in this case /etc/init.d/tomcat) intercepted by systemd, while the execution of others is not? How can I break this link? (renaming the tomcat.service file didn't make any difference)
Renaming /etc/init.d/tomcat to tomcat.service will make things worst..namely it wont be parsed by anything at all.
I thought the problem might lie in some difference in the environment between a command-line launch and a systemd launch,
Well, yes, for the start systemd does not launch services on a shell but using the execv* family of system calls, and runs the process in a clean,isolated environment..etc so I duplicated
the commandline environment using printenv > file, then used <file> in an EnvironmentFile directive in the tomcat.service file. It made no difference.
Show us your setup, then we will be able to help you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org