New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pki-tomcatd@pki-tomcat.service does not start when pki-tomcatd.target is started #1285
Comments
Comment from pviktori (@encukou) at 2013-08-28 14:13:14 This bug prevents FreeIPA installation in some cases. |
Comment from pviktori (@encukou) at 2013-08-28 14:29:30 Sorry, I've made a typo: the file is |
Comment from nkinder (@nkinder) at 2013-08-28 18:36:04 Replying to [ticket:716 encukou]:
Should we be using 'PartOf' in addition to 'BindsTo'? The systemd.unit manpage describes these directives as having slightly different purposes:
|
Comment from pviktori (@encukou) at 2013-08-28 19:50:32 If that's the case, there's a typo: it's I've contacted Lukáš from |
Comment from nkinder (@nkinder) at 2013-08-28 19:57:15 Replying to [comment:4 encukou]:
The directive name was changed from 'BindTo' to 'BindsTo' at some point, but the old name is still supported for backwards compatibility. If we still need to use it at all, we should update to use the new recommended name of 'BindsTo'. |
Comment from lnykryn (@lnykryn) at 2013-08-29 09:17:50 I am not sure that this is your exact use-case, but if you use pki-tomcatd.target to control (start, stop, restart,...) all instances of pki-tomcatd@.service, the recommended way is to have WantedBy=pki-tomcatd.target and PartOf=pki-tomcatd.target in pki-tomcatd@.service. In that case another dependency (BindsTo) should not be there. |
Comment from vakwetu (@vakwetu) at 2013-09-03 04:22:18 Fixed: To ssh://vakwetu@git.fedorahosted.org/git/pki.git To ssh://vakwetu@git.fedorahosted.org/git/pki.git |
Comment from pviktori (@encukou) at 2017-02-27 14:00:43 Metadata Update from @encukou:
|
This issue was migrated from Pagure Issue #716. Originally filed by pviktori (@encukou) on 2013-08-28 14:10:32:
/lib/systemd/system/pki-tomcatd.target currently contains:
Instead of
BindTo
there should bePartOf
, so that starting and stopping the target is propagated to the service.Also, instead of logging
the
SuccessExitStatus=143
service directive can be used.The text was updated successfully, but these errors were encountered: