Hi there We developt an own rc script a while ago for maintaining our tomcats. (mainly improved shutdown behaviour with eventual kill). The script takes start/Stopp/status as arguments, and identifies the right PID by a filtered 'ps'. It also keeps track of the tomcats pid in an own pid-file.
So far the ExecStart and ExecStop is clear, but is there something like ExecStatus? Or, is it possible that systemd reads the service-pid from a file generated by not himself? Cheers Josh [Unit] Description=Atlassian Confluence Tomcat Wants=network.target mysql.target [Service] ExecStart=/home/confluence/rc.confluence start ExecStop=/home/confluence/rc.confluence start Type=forking [Install] WantedBy=multi-user.target _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
